Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009395/0.0009395, allocations: 72.83 kB / 20.72 MB, free: 3.766 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.00155/0.00155, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.9921/0.9921, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6723/0.6723, allocations: 115 MB / 376 MB, free: 7.473 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 428.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.266e-05, allocations: 2.312 kB / 428.8 MB, free: 2.727 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.3888/0.3888, allocations: 152.8 MB / 0.568 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007925/0.3968, allocations: 4.871 MB / 0.5727 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.3982, allocations: 63.44 kB / 0.5728 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.3993, allocations: 416.8 kB / 0.5732 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002788/0.402, allocations: 1.228 MB / 0.5744 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.4048, allocations: 1.48 MB / 0.5758 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003811/0.4086, allocations: 2.853 MB / 0.5786 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.4105, allocations: 0.7769 MB / 0.5794 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.413, allocations: 1.486 MB / 0.5808 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.4139, allocations: 0.6317 MB / 0.5814 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.414, allocations: 100 kB / 0.5815 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.4153, allocations: 0.7367 MB / 0.5823 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.4156, allocations: 390.7 kB / 0.5826 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003756/0.416, allocations: 391 kB / 0.583 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.4177, allocations: 1.359 MB / 0.5843 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.4177, allocations: 0 / 0.5843 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4177, allocations: 4 kB / 0.5843 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.4177, allocations: 4 kB / 0.5843 GB, free: 12.14 MB / 0.5261 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.001839/0.4196, allocations: 1.424 MB / 0.5857 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4196, allocations: 12.03 kB / 0.5857 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.4207, allocations: 472.2 kB / 0.5862 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/0.4216, allocations: 0.6819 MB / 0.5869 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.4216, allocations: 54.84 kB / 0.5869 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.335e-05/0.4217, allocations: 68 kB / 0.587 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.4226, allocations: 0.7923 MB / 0.5877 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4226, allocations: 4 kB / 0.5877 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.4226, allocations: 28 kB / 0.5878 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.4227, allocations: 29.31 kB / 0.5878 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.4231, allocations: 317.6 kB / 0.5881 GB, free: 8.16 MB / 0.5261 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.002692/0.4258, allocations: 1.937 MB / 0.59 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.4264, allocations: 344.8 kB / 0.5903 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.4266, allocations: 149.1 kB / 0.5905 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.4268, allocations: 41.11 kB / 0.5905 GB, free: 5.641 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.4272, allocations: 418.9 kB / 0.5909 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 5.671e-06/0.4272, allocations: 0 / 0.5909 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.000945/0.4282, allocations: 495.7 kB / 0.5914 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.4282, allocations: 140.8 kB / 0.5915 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006686/0.4289, allocations: 0.6794 MB / 0.5922 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.304e-05/0.429, allocations: 37.7 kB / 0.5922 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.4292, allocations: 342.4 kB / 0.5925 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.4293, allocations: 198.2 kB / 0.5927 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.4295, allocations: 134.1 kB / 0.5929 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4297, allocations: 337.9 kB / 0.5932 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.4298, allocations: 101.8 kB / 0.5933 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.4302, allocations: 0.5206 MB / 0.5938 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.4306, allocations: 376.4 kB / 0.5941 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.4306, allocations: 4 kB / 0.5941 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005292/0.4311, allocations: 418.4 kB / 0.5945 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.4311, allocations: 39.42 kB / 0.5946 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4312, allocations: 7.938 kB / 0.5946 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4312, allocations: 12.42 kB / 0.5946 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.4316, allocations: 159.8 kB / 0.5948 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.4316, allocations: 15.94 kB / 0.5948 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004638/0.432, allocations: 136.1 kB / 0.5949 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.4321, allocations: 24.67 kB / 0.5949 GB, free: 0.7656 MB / 0.5261 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.0002297/0.4323, allocations: 186.2 kB / 0.5951 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.674e-05/0.4324, allocations: 75.92 kB / 0.5952 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.433, allocations: 460.2 kB / 0.5956 GB, free: 32 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.433, allocations: 11.94 kB / 0.5956 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.433, allocations: 1.438 kB / 0.5956 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.433, allocations: 3.984 kB / 0.5956 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.4348, allocations: 1.662 MB / 0.5973 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4348, allocations: 11.98 kB / 0.5973 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.4351, allocations: 115.8 kB / 0.5974 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.4351, allocations: 8 kB / 0.5974 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.4351, allocations: 23.98 kB / 0.5974 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-06/0.4351, allocations: 12 kB / 0.5974 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.4351, allocations: 20.17 kB / 0.5974 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.4358, allocations: 0.9095 MB / 0.5983 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.4361, allocations: 163.2 kB / 0.5985 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.4362, allocations: 24.62 kB / 0.5985 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.4365, allocations: 63.94 kB / 0.5986 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.313e-05/0.4366, allocations: 63.69 kB / 0.5986 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.4366, allocations: 35.97 kB / 0.5987 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002786/0.4369, allocations: 316.5 kB / 0.599 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4369, allocations: 4 kB / 0.599 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007832/0.4377, allocations: 291.4 kB / 0.5992 GB, free: 11.99 MB / 0.5417 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.000345/0.4381, allocations: 197.5 kB / 0.5994 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.4386, allocations: 429.2 kB / 0.5998 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.4386, allocations: 16 kB / 0.5999 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.4389, allocations: 269 kB / 0.6001 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.4398, allocations: 369.8 kB / 0.6005 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.442, allocations: 1.737 MB / 0.6022 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.4422, allocations: 214 kB / 0.6024 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004967/0.4427, allocations: 149 kB / 0.6025 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.4434, allocations: 327 kB / 0.6028 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of SimCode: time 1.463e-06/0.4434, allocations: 0 / 0.6028 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of Templates: time 0.02167/0.465, allocations: 17.15 MB / 0.6196 GB, free: 7.418 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.263784483075142]