Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007519/0.0007519, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007604/0.0007604, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8588/0.8588, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.553/0.553, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/2.068e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001489/0.001509, allocations: 0.6744 MB / 0.5548 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.002613, allocations: 1.096 MB / 0.5559 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.002669, allocations: 0 / 0.5559 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.002699, allocations: 3.938 kB / 0.5559 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.937e-05/0.002758, allocations: 11.94 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.003054, allocations: 55.69 kB / 0.556 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.003144, allocations: 67.83 kB / 0.556 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.003503, allocations: 11.98 kB / 0.556 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.541e-05/0.003589, allocations: 39.91 kB / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.003637, allocations: 23.95 kB / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.003653, allocations: 4 kB / 0.5561 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.003716, allocations: 23.94 kB / 0.5561 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.00374, allocations: 23.91 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.003769, allocations: 11.98 kB / 0.5562 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.003916, allocations: 99.72 kB / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003918, allocations: 0 / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.41e-07/0.003919, allocations: 0 / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.003923, allocations: 0 / 0.5563 GB, free: 0.6562 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000463/0.004386, allocations: 302.1 kB / 0.5565 GB, free: 336 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.00443, allocations: 8.625 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.004463, allocations: 42.73 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.004531, allocations: 8.891 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.004606, allocations: 109.8 kB / 0.5567 GB, free: 132 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.004626, allocations: 4.375 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.00464, allocations: 16.36 kB / 0.5567 GB, free: 112 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.004798, allocations: 82.09 kB / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.004805, allocations: 192 / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.004819, allocations: 384 / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.004827, allocations: 8.125 kB / 0.5568 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.004952, allocations: 55.94 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.005316, allocations: 267.9 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.005438, allocations: 74.48 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.005501, allocations: 40.83 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.00552, allocations: 3.938 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.005663, allocations: 91.3 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.005664, allocations: 0 / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0003132/0.005977, allocations: 177.7 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.006013, allocations: 59.41 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.707e-05/0.00607, allocations: 109.8 kB / 0.5577 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.006085, allocations: 33.7 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.006118, allocations: 84.33 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.006141, allocations: 31.84 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.006178, allocations: 29.72 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.00625, allocations: 318.8 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.006315, allocations: 43.91 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.006387, allocations: 62.55 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.00652, allocations: 102.5 kB / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006522, allocations: 0 / 0.5583 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001731/0.006695, allocations: 147.5 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.006707, allocations: 8 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006712, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.006723, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.00682, allocations: 24.22 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.006825, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.675e-05/0.006862, allocations: 16 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-06/0.006872, allocations: 4 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 6.688e-05/0.006939, allocations: 129.8 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.006949, allocations: 15.89 kB / 0.5587 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.007155, allocations: 142.4 kB / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007157, allocations: 4 kB / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.007161, allocations: 96 / 0.5588 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007165, allocations: 7.875 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.00751, allocations: 377.4 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.007511, allocations: 0 / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.007551, allocations: 19.98 kB / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007553, allocations: 0 / 0.5592 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.007563, allocations: 4 kB / 0.5592 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007564, allocations: 0 / 0.5592 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007565, allocations: 0 / 0.5592 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.007768, allocations: 239.4 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-06/0.007777, allocations: 7.953 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.00779, allocations: 0 / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.007841, allocations: 7.984 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.007873, allocations: 15.98 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.00788, allocations: 4 kB / 0.5594 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.831e-05/0.007908, allocations: 83.27 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.007908, allocations: 0 / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001662/0.008074, allocations: 20 kB / 0.5595 GB, free: 12.98 MB / 0.5261 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 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004079/0.008482, allocations: 0.7825 MB / 0.5603 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.008674, allocations: 96.16 kB / 0.5604 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008676, allocations: 0 / 0.5604 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.008747, allocations: 43.91 kB / 0.5604 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.008938, allocations: 15.98 kB / 0.5605 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.01014, allocations: 1.506 MB / 0.5619 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.291e-05/0.01019, allocations: 75.33 kB / 0.562 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.01022, allocations: 4.5 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.01026, allocations: 20.48 kB / 0.562 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/0.01026, allocations: 0 / 0.562 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.03093, allocations: 2.781 MB / 0.5647 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/6.612, allocations: 10.11 kB / 0.5648 GB, free: 7.68 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.963074883446097] Failed to read output from testmodel.py, exit status != 0: 6.692482897080481 6.701556126 6.695883822 Calling exit ...