Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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.000929/0.000929, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.0009865/0.0009865, allocations: 169 kB / 23.8 MB, free: 0.7695 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.9943/0.9943, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.6797/0.6797, allocations: 115 MB / 375.7 MB, free: 7.641 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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.297e-05, allocations: 5.812 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01041/0.01043, allocations: 8.325 MB / 489.8 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007108/0.01754, allocations: 4.531 MB / 494.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/0.01801, allocations: 42.66 kB / 494.4 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.0186, allocations: 205.7 kB / 494.6 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.01993, allocations: 0.7494 MB / 495.4 MB, free: 2.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.02209, allocations: 1.249 MB / 496.6 MB, free: 2.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001738/0.02383, allocations: 1.795 MB / 498.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005521/0.02438, allocations: 462.2 kB / 498.9 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001307/0.02568, allocations: 0.8507 MB / 499.7 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006897/0.02637, allocations: 449.9 kB / 0.4884 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-05/0.02647, allocations: 42.91 kB / 0.4885 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.02775, allocations: 0.8121 MB / 0.4893 GB, free: 408 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.02791, allocations: 164.9 kB / 0.4894 GB, free: 308 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.02818, allocations: 241.4 kB / 0.4897 GB, free: 212 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.02979, allocations: 1.047 MB / 0.4907 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.02979, allocations: 0 / 0.4907 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.0298, allocations: 1.25 kB / 0.4907 GB, free: 15.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.02982, allocations: 4.688 kB / 0.4907 GB, free: 15.81 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001644/0.03146, allocations: 1.151 MB / 0.4918 GB, free: 14.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.0315, allocations: 10.36 kB / 0.4918 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.03206, allocations: 199.2 kB / 0.492 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.03306, allocations: 0.5696 MB / 0.4926 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.0331, allocations: 31.16 kB / 0.4926 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.03318, allocations: 51.77 kB / 0.4926 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.03391, allocations: 0.5117 MB / 0.4931 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.03393, allocations: 0 / 0.4931 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.03398, allocations: 22.23 kB / 0.4932 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.03402, allocations: 9.5 kB / 0.4932 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.03439, allocations: 201.7 kB / 0.4934 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001981/0.03637, allocations: 1.657 MB / 0.495 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.03681, allocations: 221.4 kB / 0.4952 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.03698, allocations: 128.3 kB / 0.4953 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.03709, allocations: 23.17 kB / 0.4953 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/0.03743, allocations: 326.7 kB / 0.4956 GB, free: 12.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.03743, allocations: 3.562 kB / 0.4956 GB, free: 12.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001007/0.03844, allocations: 0.5423 MB / 0.4962 GB, free: 12.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.03848, allocations: 86.47 kB / 0.4963 GB, free: 12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.0389, allocations: 0.5385 MB / 0.4968 GB, free: 11.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.03894, allocations: 37.7 kB / 0.4968 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.03924, allocations: 361.1 kB / 0.4972 GB, free: 11.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.03931, allocations: 110.7 kB / 0.4973 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.03942, allocations: 112 kB / 0.4974 GB, free: 10.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.03958, allocations: 0.5378 MB / 0.4979 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.03973, allocations: 114 kB / 0.498 GB, free: 10.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.04004, allocations: 0.5515 MB / 0.4986 GB, free: 9.609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.04042, allocations: 496.9 kB / 0.499 GB, free: 9.027 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.04043, allocations: 0 / 0.499 GB, free: 9.027 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006742/0.0411, allocations: 0.5615 MB / 0.4996 GB, free: 8.492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.04114, allocations: 43.28 kB / 0.4996 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.04115, allocations: 4.609 kB / 0.4996 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/0.04147, allocations: 96.27 kB / 0.4997 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.04169, allocations: 104.1 kB / 0.4998 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005196/0.04221, allocations: 0.8438 MB / 0.5006 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.04243, allocations: 64.36 kB / 0.5007 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.04247, allocations: 27.62 kB / 0.5007 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002087/0.04268, allocations: 239.6 kB / 0.501 GB, free: 7.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003/0.04298, allocations: 0.5507 MB / 0.5015 GB, free: 6.406 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00036/0.04334, allocations: 478.7 kB / 0.5019 GB, free: 5.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.04334, allocations: 0.6094 kB / 0.5019 GB, free: 5.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0006014/0.04394, allocations: 0.5393 MB / 0.5025 GB, free: 5.312 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.04397, allocations: 40.33 kB / 0.5025 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.04398, allocations: 8 kB / 0.5025 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001213/0.0441, allocations: 51.27 kB / 0.5026 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.04432, allocations: 106.7 kB / 0.5027 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.04542, allocations: 2.121 MB / 0.5047 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.04564, allocations: 51.81 kB / 0.5048 GB, free: 2.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.04567, allocations: 34.42 kB / 0.5048 GB, free: 2.855 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.04584, allocations: 340.9 kB / 0.5051 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.04592, allocations: 68.38 kB / 0.5052 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.04652, allocations: 469.6 kB / 0.5057 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.04653, allocations: 4.781 kB / 0.5057 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.04653, allocations: 4 kB / 0.5057 GB, free: 2.008 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004771/0.04701, allocations: 0.6033 MB / 0.5063 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.04818, allocations: 1.016 MB / 0.5073 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.04818, allocations: 0.6562 kB / 0.5073 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.04835, allocations: 58.06 kB / 0.5073 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/0.04846, allocations: 47.92 kB / 0.5074 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.04849, allocations: 18.2 kB / 0.5074 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004894/0.04898, allocations: 0.8239 MB / 0.5082 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.04898, allocations: 3.938 kB / 0.5082 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.04968, allocations: 0.7144 MB / 0.5089 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.04984, allocations: 101.7 kB / 0.509 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.04988, allocations: 12.69 kB / 0.509 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.05009, allocations: 30.16 kB / 0.509 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.05015, allocations: 22.41 kB / 0.509 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.05018, allocations: 20.31 kB / 0.5091 GB, free: 14.56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.05047, allocations: 347.4 kB / 0.5094 GB, free: 14.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05047, allocations: 0 / 0.5094 GB, free: 14.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007558/0.05122, allocations: 351.3 kB / 0.5097 GB, free: 13.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003707/0.05159, allocations: 233 kB / 0.5099 GB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000991/0.05258, allocations: 0.8596 MB / 0.5108 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.05259, allocations: 4.062 kB / 0.5108 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.05281, allocations: 221 kB / 0.511 GB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.0535, allocations: 243.8 kB / 0.5112 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.0551, allocations: 1.047 MB / 0.5123 GB, free: 11.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.05521, allocations: 146.4 kB / 0.5124 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000294/0.0555, allocations: 123.8 kB / 0.5125 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.05559, allocations: 49.23 kB / 0.5126 GB, free: 11.17 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/0.05559, allocations: 0 / 0.5126 GB, free: 11.17 MB / 442.7 MB Notification: Performance of Templates: time 0.01418/0.06977, allocations: 10.75 MB / 0.5231 GB, free: 0.6562 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.022682375274599]