Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001949/0.001949, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002068/0.002068, allocations: 177.2 kB / 23.24 MB, free: 1.32 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 1.553/1.553, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.159/3.159, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.469e-05, allocations: 2.281 kB / 1.001 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004949/0.004984, allocations: 2.424 MB / 1.003 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003215/0.008199, allocations: 1.627 MB / 1.005 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.008369, allocations: 7.938 kB / 1.005 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.009472, allocations: 326.5 kB / 1.005 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000647/0.01012, allocations: 266.8 kB / 1.006 GB, free: 7.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.01065, allocations: 207.3 kB / 1.006 GB, free: 7.066 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.01123, allocations: 422.5 kB / 1.006 GB, free: 6.652 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.0114, allocations: 52.83 kB / 1.006 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.01174, allocations: 219.4 kB / 1.007 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.01201, allocations: 147.6 kB / 1.007 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.01208, allocations: 20 kB / 1.007 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.0123, allocations: 87.81 kB / 1.007 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.0125, allocations: 127.5 kB / 1.007 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.01266, allocations: 99.58 kB / 1.007 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007547/0.01341, allocations: 0.5021 MB / 1.007 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.01342, allocations: 0 / 1.007 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.004e-06/0.01342, allocations: 0 / 1.007 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.01342, allocations: 0 / 1.007 GB, free: 5.402 MB / 0.9167 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.001407/0.01483, allocations: 0.7852 MB / 1.008 GB, free: 4.578 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.01487, allocations: 9.344 kB / 1.008 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.01499, allocations: 64.52 kB / 1.008 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.01564, allocations: 378.6 kB / 1.009 GB, free: 4.113 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.01567, allocations: 12.56 kB / 1.009 GB, free: 4.102 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.0157, allocations: 12.38 kB / 1.009 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.01604, allocations: 153.2 kB / 1.009 GB, free: 3.93 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.01605, allocations: 4 kB / 1.009 GB, free: 3.926 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.01607, allocations: 4 kB / 1.009 GB, free: 3.922 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.01608, allocations: 4 kB / 1.009 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.01628, allocations: 71.95 kB / 1.009 GB, free: 3.848 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.01724, allocations: 0.4923 MB / 1.009 GB, free: 3.32 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.0176, allocations: 126.6 kB / 1.01 GB, free: 3.188 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.01774, allocations: 48.83 kB / 1.01 GB, free: 3.137 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.01775, allocations: 8 kB / 1.01 GB, free: 3.129 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.01805, allocations: 137 kB / 1.01 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.01805, allocations: 0 / 1.01 GB, free: 2.977 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0006115/0.01866, allocations: 253.2 kB / 1.01 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003423/0.019, allocations: 55.34 kB / 1.01 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.01996, allocations: 0.7034 MB / 1.011 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.02, allocations: 29.7 kB / 1.011 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.02027, allocations: 276.4 kB / 1.011 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.02033, allocations: 35.73 kB / 1.011 GB, free: 1.602 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.02044, allocations: 65.64 kB / 1.011 GB, free: 1.531 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002642/0.0207, allocations: 378.7 kB / 1.011 GB, free: 1.152 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/0.02087, allocations: 75.91 kB / 1.011 GB, free: 1.078 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.02114, allocations: 168.5 kB / 1.012 GB, free: 0.8867 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.02144, allocations: 140.7 kB / 1.012 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/0.02145, allocations: 4 kB / 1.012 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005355/0.02198, allocations: 281.2 kB / 1.012 GB, free: 468 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.022, allocations: 8 kB / 1.012 GB, free: 460 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.02201, allocations: 0 / 1.012 GB, free: 460 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.02203, allocations: 0 / 1.012 GB, free: 460 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.02219, allocations: 31.98 kB / 1.012 GB, free: 428 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.02221, allocations: 15.86 kB / 1.012 GB, free: 412 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.02236, allocations: 23.88 kB / 1.012 GB, free: 388 kB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.02239, allocations: 12 kB / 1.012 GB, free: 376 kB / 0.9167 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.0002737/0.02267, allocations: 220.6 kB / 1.012 GB, free: 148 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.02275, allocations: 59.58 kB / 1.012 GB, free: 88 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.02325, allocations: 218.8 kB / 1.013 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.02325, allocations: 4 kB / 1.013 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.02326, allocations: 3.938 kB / 1.013 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.02326, allocations: 0 / 1.013 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.02364, allocations: 293 kB / 1.013 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.02364, allocations: 0 / 1.013 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.0237, allocations: 16 kB / 1.013 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.0237, allocations: 0 / 1.013 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.02371, allocations: 4 kB / 1.013 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.02372, allocations: 7.984 kB / 1.013 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02372, allocations: 0 / 1.013 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.02417, allocations: 251.1 kB / 1.013 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.02427, allocations: 51.56 kB / 1.013 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.02432, allocations: 11.98 kB / 1.013 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.02445, allocations: 11.98 kB / 1.013 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.02452, allocations: 15.97 kB / 1.013 GB, free: 15.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.02455, allocations: 15.94 kB / 1.013 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006517/0.0252, allocations: 483 kB / 1.014 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1e-07/0.0252, allocations: 4 kB / 1.014 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003326/0.02553, allocations: 67.88 kB / 1.014 GB, free: 14.6 MB / 0.9323 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.00297/0.0285, allocations: 457.7 kB / 1.014 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.02892, allocations: 157.2 kB / 1.014 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.02892, allocations: 0 / 1.014 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.02907, allocations: 59.34 kB / 1.014 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.0296, allocations: 103.9 kB / 1.015 GB, free: 14.04 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.03111, allocations: 0.8497 MB / 1.015 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.03145, allocations: 266.6 kB / 1.016 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.03159, allocations: 54.92 kB / 1.016 GB, free: 12.82 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.03168, allocations: 36.48 kB / 1.016 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of SimCode: time 8.92e-07/0.03168, allocations: 0 / 1.016 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of Templates: time 0.01148/0.04316, allocations: 4.563 MB / 1.02 GB, free: 8.297 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.558920850045979]