Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001127/0.001127, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.00134/0.00134, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.088/1.088, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00263/0.00263, allocations: 237.2 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7041/0.7041, allocations: 138.4 MB / 402.2 MB, free: 0.5352 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 462.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.919e-06/1.144e-05, allocations: 3.156 kB / 462.4 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.136/0.136, allocations: 152.9 MB / 0.6008 GB, free: 9.512 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007503/0.1435, allocations: 4.931 MB / 0.6056 GB, free: 4.582 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007539/0.1442, allocations: 67.38 kB / 0.6057 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.145, allocations: 416.8 kB / 0.6061 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.1469, allocations: 1.263 MB / 0.6073 GB, free: 2.836 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.149, allocations: 1.499 MB / 0.6088 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.1515, allocations: 2.969 MB / 0.6117 GB, free: 14.38 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.1526, allocations: 0.818 MB / 0.6125 GB, free: 13.59 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.1541, allocations: 1.515 MB / 0.6139 GB, free: 12.14 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.1547, allocations: 0.662 MB / 0.6146 GB, free: 11.47 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.1548, allocations: 99.98 kB / 0.6147 GB, free: 11.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009166/0.1558, allocations: 0.7445 MB / 0.6154 GB, free: 10.63 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.156, allocations: 386.7 kB / 0.6158 GB, free: 10.25 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.1564, allocations: 391 kB / 0.6162 GB, free: 9.867 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.1576, allocations: 1.367 MB / 0.6175 GB, free: 8.496 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1576, allocations: 0 / 0.6175 GB, free: 8.496 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1576, allocations: 0 / 0.6175 GB, free: 8.496 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.1576, allocations: 4 kB / 0.6175 GB, free: 8.492 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00163/0.1593, allocations: 1.448 MB / 0.6189 GB, free: 7.008 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1593, allocations: 8.75 kB / 0.6189 GB, free: 7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.1604, allocations: 468.1 kB / 0.6194 GB, free: 6.543 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007619/0.1611, allocations: 0.7121 MB / 0.6201 GB, free: 5.805 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.1612, allocations: 61.44 kB / 0.6201 GB, free: 5.746 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.1612, allocations: 71.98 kB / 0.6202 GB, free: 5.676 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.162, allocations: 0.7884 MB / 0.621 GB, free: 4.824 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1621, allocations: 0.625 kB / 0.621 GB, free: 4.824 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.1621, allocations: 29.45 kB / 0.621 GB, free: 4.797 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.1621, allocations: 37.3 kB / 0.621 GB, free: 4.762 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1626, allocations: 313.5 kB / 0.6213 GB, free: 4.445 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.1648, allocations: 1.933 MB / 0.6232 GB, free: 2.473 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1653, allocations: 342.5 kB / 0.6235 GB, free: 2.121 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1654, allocations: 153.6 kB / 0.6237 GB, free: 1.965 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.1656, allocations: 40.47 kB / 0.6237 GB, free: 1.926 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.1659, allocations: 419.1 kB / 0.6241 GB, free: 1.461 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 2.354e-06/0.1659, allocations: 1.125 kB / 0.6241 GB, free: 1.461 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.0007228/0.1666, allocations: 486.4 kB / 0.6246 GB, free: 0.9609 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.1667, allocations: 148.8 kB / 0.6247 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005227/0.1672, allocations: 0.695 MB / 0.6254 GB, free: 80 kB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.1672, allocations: 37.7 kB / 0.6254 GB, free: 36 kB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1674, allocations: 342.4 kB / 0.6258 GB, free: 15.69 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1675, allocations: 202.2 kB / 0.626 GB, free: 15.49 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.1677, allocations: 134.1 kB / 0.6261 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1678, allocations: 325.9 kB / 0.6264 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.168, allocations: 109.8 kB / 0.6265 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.1683, allocations: 0.5206 MB / 0.627 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.1686, allocations: 377.2 kB / 0.6274 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1686, allocations: 4 kB / 0.6274 GB, free: 13.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004745/0.1691, allocations: 418 kB / 0.6278 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.1691, allocations: 38.03 kB / 0.6278 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1691, allocations: 8 kB / 0.6278 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1691, allocations: 4 kB / 0.6278 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.1695, allocations: 163 kB / 0.628 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1695, allocations: 15.86 kB / 0.628 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1699, allocations: 147.6 kB / 0.6281 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.17, allocations: 23.98 kB / 0.6282 GB, free: 13.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0001834/0.1702, allocations: 186.9 kB / 0.6283 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/0.1702, allocations: 75.92 kB / 0.6284 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.1708, allocations: 458.4 kB / 0.6288 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.1708, allocations: 7.984 kB / 0.6289 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1708, allocations: 7.938 kB / 0.6289 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1708, allocations: 4 kB / 0.6289 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.1725, allocations: 1.653 MB / 0.6305 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.1725, allocations: 11.98 kB / 0.6305 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.1727, allocations: 111.8 kB / 0.6306 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.1727, allocations: 8 kB / 0.6306 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.1728, allocations: 23.98 kB / 0.6306 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.1728, allocations: 15.94 kB / 0.6306 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.1728, allocations: 11.98 kB / 0.6307 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.1734, allocations: 0.9118 MB / 0.6315 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.1737, allocations: 167.1 kB / 0.6317 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.1737, allocations: 20 kB / 0.6317 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.1741, allocations: 67.94 kB / 0.6318 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.1742, allocations: 59.69 kB / 0.6318 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.1742, allocations: 35.97 kB / 0.6319 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002419/0.1745, allocations: 340.4 kB / 0.6322 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1745, allocations: 0 / 0.6322 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005273/0.175, allocations: 295.4 kB / 0.6325 GB, free: 8.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * 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.0002851/0.1753, allocations: 206.8 kB / 0.6327 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.1758, allocations: 442.4 kB / 0.6331 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.1758, allocations: 12 kB / 0.6331 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.176, allocations: 260.4 kB / 0.6334 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.177, allocations: 410.1 kB / 0.6338 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.1789, allocations: 1.765 MB / 0.6355 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.179, allocations: 216.4 kB / 0.6357 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004115/0.1795, allocations: 152.2 kB / 0.6358 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/0.1801, allocations: 347.7 kB / 0.6362 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.1801, allocations: 0 / 0.6362 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.01934/0.1995, allocations: 17.99 MB / 0.6537 GB, free: 2.812 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.182247760239989]