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.0008245/0.0008245, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0007624/0.0007624, allocations: 177.9 kB / 23.22 MB, free: 1.34 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.8559/0.8559, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.001413/0.001413, allocations: 236 kB / 260.2 MB, free: 13.01 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.7229/0.7229, allocations: 138.4 MB / 455.1 MB, free: 29.99 MB / 410.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.492e-06/1.492e-06, allocations: 0 / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.889e-05, allocations: 5.234 kB / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3804/0.3804, allocations: 171.6 MB / 0.8151 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.00887/0.3893, allocations: 6.583 MB / 0.8216 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3907, allocations: 63.44 kB / 0.8216 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.3923, allocations: 0.6945 MB / 0.8223 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.3976, allocations: 2.472 MB / 0.8247 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003145/0.4008, allocations: 1.523 MB / 0.8262 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004031/0.4048, allocations: 3.014 MB / 0.8292 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.4061, allocations: 0.6971 MB / 0.8298 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.4092, allocations: 1.496 MB / 0.8313 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.4107, allocations: 0.7458 MB / 0.832 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.4109, allocations: 100 kB / 0.8321 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.414, allocations: 1.706 MB / 0.8338 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.4143, allocations: 390.7 kB / 0.8342 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.4148, allocations: 403 kB / 0.8345 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.4185, allocations: 2.45 MB / 0.8369 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4185, allocations: 0 / 0.8369 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4185, allocations: 0 / 0.8369 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.211e-05/0.4186, allocations: 0 / 0.8369 GB, free: 8.648 MB / 0.6667 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.002908/0.4215, allocations: 1.586 MB / 0.8385 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4215, allocations: 12.75 kB / 0.8385 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.4231, allocations: 0.5416 MB / 0.839 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.4251, allocations: 0.9702 MB / 0.84 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.4251, allocations: 49.31 kB / 0.84 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.4252, allocations: 75.92 kB / 0.8401 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.4269, allocations: 1.238 MB / 0.8413 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4269, allocations: 0 / 0.8413 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.998e-05/0.427, allocations: 24 kB / 0.8413 GB, free: 4.023 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.427, allocations: 41.23 kB / 0.8414 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.429, allocations: 1.19 MB / 0.8425 GB, free: 2.785 MB / 0.6667 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.00371/0.4327, allocations: 2.692 MB / 0.8452 GB, free: 40 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.4342, allocations: 0.6858 MB / 0.8458 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.4347, allocations: 439 kB / 0.8462 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.435, allocations: 124.4 kB / 0.8464 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007076/0.4357, allocations: 0.6438 MB / 0.847 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=57): time 2.395e-06/0.4357, allocations: 3.938 kB / 0.847 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57): time 0.001944/0.4376, allocations: 1.262 MB / 0.8482 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.4377, allocations: 144.8 kB / 0.8484 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.4387, allocations: 0.8839 MB / 0.8492 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.4387, allocations: 37.7 kB / 0.8493 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.439, allocations: 464.6 kB / 0.8497 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.4392, allocations: 194.3 kB / 0.8499 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.4393, allocations: 146.2 kB / 0.85 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.4394, allocations: 333.9 kB / 0.8503 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/0.4401, allocations: 473.4 kB / 0.8508 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008908/0.441, allocations: 0.9746 MB / 0.8518 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.4425, allocations: 0.9341 MB / 0.8527 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.4425, allocations: 0 / 0.8527 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001793/0.4443, allocations: 1.223 MB / 0.8539 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.4443, allocations: 37.69 kB / 0.8539 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.4444, allocations: 4 kB / 0.8539 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.4444, allocations: 4 kB / 0.8539 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.4449, allocations: 191.9 kB / 0.8541 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.4449, allocations: 8 kB / 0.8541 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007302/0.4456, allocations: 215.3 kB / 0.8543 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.4457, allocations: 31.98 kB / 0.8543 GB, free: 6.258 MB / 0.6823 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.000482/0.4461, allocations: 339.9 kB / 0.8547 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4463, allocations: 99.39 kB / 0.8547 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.4476, allocations: 1.01 MB / 0.8557 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4476, allocations: 11.94 kB / 0.8557 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4476, allocations: 0 / 0.8557 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4476, allocations: 3.984 kB / 0.8557 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.4508, allocations: 2.944 MB / 0.8586 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.4508, allocations: 8 kB / 0.8586 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.4511, allocations: 120 kB / 0.8587 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.4511, allocations: 12.88 kB / 0.8588 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.4512, allocations: 35.91 kB / 0.8588 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.4512, allocations: 15.92 kB / 0.8588 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.4512, allocations: 11.94 kB / 0.8588 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.453, allocations: 1.348 MB / 0.8601 GB, free: 24 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.4534, allocations: 215.3 kB / 0.8603 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.4535, allocations: 31.73 kB / 0.8604 GB, free: 15.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.454, allocations: 97.66 kB / 0.8605 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.4541, allocations: 63.8 kB / 0.8605 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.4541, allocations: 35.97 kB / 0.8606 GB, free: 15.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007264/0.4549, allocations: 0.6395 MB / 0.8612 GB, free: 14.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4549, allocations: 0 / 0.8612 GB, free: 14.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009332/0.4558, allocations: 327.3 kB / 0.8615 GB, free: 14.64 MB / 0.698 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.0005386/0.4563, allocations: 349.4 kB / 0.8618 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.4579, allocations: 1.038 MB / 0.8628 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.4579, allocations: 4 kB / 0.8628 GB, free: 13.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.4584, allocations: 0.5061 MB / 0.8633 GB, free: 12.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4597, allocations: 385 kB / 0.8637 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.4624, allocations: 2.069 MB / 0.8657 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.4631, allocations: 485.5 kB / 0.8662 GB, free: 9.637 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.4634, allocations: 76.45 kB / 0.8663 GB, free: 9.562 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/0.4634, allocations: 0 / 0.8663 GB, free: 9.562 MB / 0.698 GB Notification: Performance of Templates: time 0.0218/0.4852, allocations: 16.83 MB / 0.8827 GB, free: 8.871 MB / 0.7136 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.931488283909857] Failed to read output from testmodel.py, exit status != 0: 0.4919048734009266 0.501693369 0.081391584 Calling exit ...