Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001752/0.001752, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002329/0.002329, allocations: 220.4 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.53 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004694/0.3418, allocations: 2.413 MB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.3448, allocations: 1.614 MB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.345, allocations: 7.938 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.3461, allocations: 314.8 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.3468, allocations: 270.8 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006731/0.3475, allocations: 203.5 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006325/0.3481, allocations: 410.7 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.3483, allocations: 48.88 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.3485, allocations: 171.3 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3488, allocations: 183.1 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.3489, allocations: 20 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.3491, allocations: 83.95 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3493, allocations: 139.4 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3495, allocations: 142.9 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.3502, allocations: 0.522 MB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.3503, allocations: 4 kB / 1.29 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3503, allocations: 4 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3503, allocations: 0 / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001597/0.3519, allocations: 0.7852 MB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3519, allocations: 12.03 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.3519, allocations: 4.375 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.352, allocations: 42.73 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.3521, allocations: 64.52 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006032/0.3527, allocations: 383 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3527, allocations: 16 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.3527, allocations: 11.98 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3531, allocations: 197.9 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3531, allocations: 0 / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.3531, allocations: 11.92 kB / 1.292 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3531, allocations: 3.938 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.3533, allocations: 71.97 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009596/0.3543, allocations: 0.5151 MB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3547, allocations: 130.7 kB / 1.293 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3548, allocations: 48.77 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3548, allocations: 0 / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.3551, allocations: 150.9 kB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.3551, allocations: 0 / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006112/0.3557, allocations: 249.1 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.3558, allocations: 77.11 kB / 1.293 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.3567, allocations: 0.715 MB / 1.294 GB, free: 476 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3567, allocations: 33.69 kB / 1.294 GB, free: 436 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.357, allocations: 264.5 kB / 1.294 GB, free: 168 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.357, allocations: 43.69 kB / 1.294 GB, free: 124 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.3571, allocations: 57.69 kB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.3574, allocations: 370.8 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3575, allocations: 75.97 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.3578, allocations: 198.9 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.3581, allocations: 154.4 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3581, allocations: 0 / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005226/0.3586, allocations: 283.3 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3586, allocations: 4 kB / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3586, allocations: 0 / 1.295 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.3586, allocations: 4 kB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3588, allocations: 39.91 kB / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3588, allocations: 0 / 1.295 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.359, allocations: 24 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.359, allocations: 12 kB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.000263/0.3593, allocations: 217.2 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.503e-05/0.3594, allocations: 59.62 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.3598, allocations: 217.5 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3599, allocations: 4 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3599, allocations: 4 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3599, allocations: 3.938 kB / 1.296 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004616/0.3603, allocations: 340.4 kB / 1.296 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.3603, allocations: 3.984 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.3604, allocations: 12 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3604, allocations: 0 / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3604, allocations: 0 / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3604, allocations: 3.938 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3604, allocations: 4 kB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.3608, allocations: 252.5 kB / 1.296 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.3609, allocations: 51.62 kB / 1.296 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.361, allocations: 4 kB / 1.296 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3611, allocations: 15.98 kB / 1.296 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.3612, allocations: 19.97 kB / 1.296 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3612, allocations: 7.984 kB / 1.296 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000593/0.3618, allocations: 483 kB / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3618, allocations: 0 / 1.297 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003584/0.3621, allocations: 71.88 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00243/0.3646, allocations: 1.145 MB / 1.298 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003908/0.365, allocations: 151.9 kB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.365, allocations: 4 kB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3651, allocations: 59.91 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.3656, allocations: 82.94 kB / 1.298 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.3709, allocations: 4.015 MB / 1.302 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.3712, allocations: 262.7 kB / 1.303 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.3714, allocations: 50.94 kB / 1.303 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.3717, allocations: 179.4 kB / 1.303 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3717, allocations: 0 / 1.303 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03529/0.407, allocations: 10.68 MB / 1.313 GB, free: 12.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.5, allocations: 8.062 kB / 1.313 GB, free: 12.65 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.652369056013413] Failed to read output from testmodel.py, exit status != 0: 13.329997419961728 12.74284552 12.389141441 Calling exit ...