Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001678/0.001678, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002072/0.002072, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.61/1.61, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.992/2.992, allocations: 0.49 GB / 0.7923 GB, free: 1.383 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_12_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.002906/0.002906, allocations: 63.89 kB / 1.15 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9288, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00367/0.9324, allocations: 2.505 MB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.9346, allocations: 1.735 MB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.9347, allocations: 10.5 kB / 1.326 GB, free: 21.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008623/0.9356, allocations: 324.9 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.9362, allocations: 264 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.9367, allocations: 205.4 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.9372, allocations: 407.4 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.9373, allocations: 54.03 kB / 1.327 GB, free: 21.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.9376, allocations: 177.4 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.9378, allocations: 177 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.802e-05/0.9378, allocations: 19.16 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.9381, allocations: 88.67 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.9382, allocations: 129 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.9384, allocations: 200.4 kB / 1.328 GB, free: 20.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.9391, allocations: 0.5101 MB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9391, allocations: 0 / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9391, allocations: 0 / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.9392, allocations: 5.094 kB / 1.328 GB, free: 20.64 MB / 1.061 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.001256/0.9404, allocations: 0.8586 MB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.9405, allocations: 13.55 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.982e-05/0.9405, allocations: 2.438 kB / 1.329 GB, free: 19.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.9405, allocations: 45.16 kB / 1.329 GB, free: 19.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.9406, allocations: 64.39 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.9411, allocations: 462.8 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.9412, allocations: 9.5 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.9412, allocations: 7.219 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.9415, allocations: 136.5 kB / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.9415, allocations: 0 / 1.33 GB, free: 19.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.9415, allocations: 13.03 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.9415, allocations: 6.312 kB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.9417, allocations: 70.91 kB / 1.33 GB, free: 19.37 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.9427, allocations: 0.5702 MB / 1.33 GB, free: 18.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.9431, allocations: 118.1 kB / 1.33 GB, free: 18.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.9432, allocations: 50.05 kB / 1.33 GB, free: 18.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.9433, allocations: 6.109 kB / 1.33 GB, free: 18.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.9435, allocations: 117.7 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.9435, allocations: 0 / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005971/0.9441, allocations: 228 kB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.9442, allocations: 84.12 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008168/0.945, allocations: 0.703 MB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.945, allocations: 37.17 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.9452, allocations: 270.6 kB / 1.332 GB, free: 18.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.9452, allocations: 33.66 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.9453, allocations: 58.39 kB / 1.332 GB, free: 18.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.9454, allocations: 370.8 kB / 1.332 GB, free: 17.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.9455, allocations: 72.41 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.9457, allocations: 123.4 kB / 1.332 GB, free: 17.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.946, allocations: 143.8 kB / 1.333 GB, free: 17.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.946, allocations: 4.938 kB / 1.333 GB, free: 17.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004824/0.9464, allocations: 278.5 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9465, allocations: 5.438 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.9465, allocations: 1.75 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.9465, allocations: 2.047 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.9467, allocations: 32.03 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.9467, allocations: 1.562 kB / 1.333 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.9468, allocations: 29.02 kB / 1.333 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.9469, allocations: 15.34 kB / 1.333 GB, free: 17.33 MB / 1.061 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.0002069/0.9471, allocations: 216 kB / 1.333 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.9471, allocations: 57.73 kB / 1.333 GB, free: 17.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.9473, allocations: 62.7 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.9473, allocations: 2.344 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9473, allocations: 1.156 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9473, allocations: 0.75 kB / 1.333 GB, free: 17.11 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.9477, allocations: 376.8 kB / 1.334 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.9477, allocations: 1.891 kB / 1.334 GB, free: 16.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.9477, allocations: 19 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.9477, allocations: 1.703 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.9477, allocations: 2.188 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9477, allocations: 1.797 kB / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9477, allocations: 0 / 1.334 GB, free: 16.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.9481, allocations: 225.4 kB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.9482, allocations: 134.5 kB / 1.334 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.868e-05/0.9482, allocations: 8.453 kB / 1.334 GB, free: 16.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.9483, allocations: 12.81 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.9484, allocations: 17.58 kB / 1.334 GB, free: 16.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.9484, allocations: 10.09 kB / 1.334 GB, free: 16.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006116/0.949, allocations: 481.1 kB / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.949, allocations: 0 / 1.335 GB, free: 16.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003614/0.9494, allocations: 74.31 kB / 1.335 GB, free: 16.34 MB / 1.061 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002093/0.9515, allocations: 1.081 MB / 1.336 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.9519, allocations: 147.9 kB / 1.336 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.9519, allocations: 0.6562 kB / 1.336 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.9521, allocations: 50.98 kB / 1.336 GB, free: 15.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.9527, allocations: 104.4 kB / 1.336 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.9574, allocations: 3.971 MB / 1.34 GB, free: 13.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.9578, allocations: 0.8647 MB / 1.341 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002155/0.958, allocations: 52.66 kB / 1.341 GB, free: 12.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.9582, allocations: 176.7 kB / 1.341 GB, free: 12.47 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.9582, allocations: 0 / 1.341 GB, free: 12.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.9906, allocations: 10.06 MB / 1.351 GB, free: 10.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.269/10.26, allocations: 23.58 kB / 1.351 GB, free: 10.9 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.957900906039868] Failed to read output from testmodel.py, exit status != 0: 10.447604186017998 10.46497087 9.521894136 Calling exit ...