Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 104.7 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 194.7 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.128/1.128, allocations: 147.6 MB / 445.6 MB, free: 8.324 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.365/0.365, allocations: 57.47 kB / 0.6109 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.544, allocations: 83.15 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002413/0.5464, allocations: 0.7187 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.5484, allocations: 1.15 MB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.5485, allocations: 1.625 kB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.5486, allocations: 7.875 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.872e-05/0.5487, allocations: 5.156 kB / 0.694 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.5494, allocations: 136.5 kB / 0.6941 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.5497, allocations: 128.9 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.5498, allocations: 10.53 kB / 0.6942 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.5499, allocations: 43.91 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.5501, allocations: 54.73 kB / 0.6943 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.5501, allocations: 18.78 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.5502, allocations: 21.86 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.5502, allocations: 5.812 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.5504, allocations: 49.39 kB / 0.6944 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.5507, allocations: 110.8 kB / 0.6945 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.5507, allocations: 0 / 0.6945 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.026e-06/0.5507, allocations: 0 / 0.6945 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.5507, allocations: 2.062 kB / 0.6945 GB, free: 11.57 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008675/0.5516, allocations: 411.5 kB / 0.6949 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.5516, allocations: 14.59 kB / 0.6949 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.5517, allocations: 36.31 kB / 0.695 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.5518, allocations: 14.42 kB / 0.695 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.5519, allocations: 171.7 kB / 0.6951 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.552, allocations: 10.3 kB / 0.6951 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.552, allocations: 6.781 kB / 0.6951 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.5522, allocations: 60.11 kB / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5522, allocations: 5.312 kB / 0.6952 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.5523, allocations: 7.922 kB / 0.6952 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5523, allocations: 5.375 kB / 0.6952 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.5525, allocations: 43.28 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.5531, allocations: 334.9 kB / 0.6956 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.5533, allocations: 57.92 kB / 0.6956 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.5534, allocations: 41.45 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.5534, allocations: 1.375 kB / 0.6957 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.5537, allocations: 88.05 kB / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 2.555e-06/0.5537, allocations: 0 / 0.6958 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0005026/0.5542, allocations: 143.6 kB / 0.6959 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5543, allocations: 52.78 kB / 0.6959 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.5544, allocations: 115.6 kB / 0.6961 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.5544, allocations: 36.44 kB / 0.6961 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.5545, allocations: 96.16 kB / 0.6962 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.5545, allocations: 14.66 kB / 0.6962 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.5546, allocations: 40.81 kB / 0.6962 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5548, allocations: 321.5 kB / 0.6965 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.555, allocations: 55.45 kB / 0.6966 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.5552, allocations: 85.41 kB / 0.6967 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.5555, allocations: 140.4 kB / 0.6968 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5555, allocations: 1.688 kB / 0.6968 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004964/0.556, allocations: 204 kB / 0.697 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.349e-05/0.5561, allocations: 41.42 kB / 0.697 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5561, allocations: 1.25 kB / 0.697 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.5561, allocations: 6.078 kB / 0.6971 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.5562, allocations: 11.69 kB / 0.6971 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5562, allocations: 2.25 kB / 0.6971 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.5564, allocations: 40.33 kB / 0.6971 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.5565, allocations: 10.28 kB / 0.6971 GB, free: 9.141 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002441/0.5567, allocations: 134.5 kB / 0.6972 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.5568, allocations: 6.703 kB / 0.6973 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.5568, allocations: 10.09 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5568, allocations: 1.406 kB / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.5568, allocations: 0 / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5568, allocations: 0 / 0.6973 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.5574, allocations: 384 kB / 0.6976 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5574, allocations: 0 / 0.6976 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.5575, allocations: 10.36 kB / 0.6976 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5575, allocations: 0 / 0.6976 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.5575, allocations: 9.219 kB / 0.6976 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5575, allocations: 1.219 kB / 0.6976 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5575, allocations: 0 / 0.6976 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.5579, allocations: 217.1 kB / 0.6979 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.558, allocations: 78.45 kB / 0.6979 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.558, allocations: 5.328 kB / 0.6979 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.5581, allocations: 8.062 kB / 0.6979 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.5581, allocations: 11.86 kB / 0.698 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5582, allocations: 5.281 kB / 0.698 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.037e-05/0.5582, allocations: 93.11 kB / 0.698 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5582, allocations: 0 / 0.698 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002868/0.5585, allocations: 23.53 kB / 0.6981 GB, free: 8.227 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007471/0.5593, allocations: 0.7491 MB / 0.6988 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004374/0.5597, allocations: 183.7 kB / 0.699 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5597, allocations: 0 / 0.699 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.5599, allocations: 40.67 kB / 0.699 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.5602, allocations: 15.14 kB / 0.699 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.5626, allocations: 1.683 MB / 0.7007 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.563, allocations: 0.6996 MB / 0.7014 GB, free: 5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.5631, allocations: 11.92 kB / 0.7014 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.5631, allocations: 15.44 kB / 0.7014 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.5631, allocations: 0 / 0.7014 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.5883, allocations: 2.523 MB / 0.7038 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.494, allocations: 16.2 kB / 0.7039 GB, free: 2.523 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.124027832876891] Failed to read output from testmodel.py, exit status != 0: 8.565480866003782 8.586595439 8.031577187 Calling exit ...