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.001409/0.001409, allocations: 84.22 kB / 20.94 MB, free: 3.602 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.00162/0.00162, allocations: 173 kB / 24.25 MB, free: 300 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.9811/0.9811, allocations: 177.1 MB / 204.6 MB, free: 5.266 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.6028/0.6028, allocations: 115 MB / 376 MB, free: 7.555 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.393e-06/1.393e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.742e-05, allocations: 3.734 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01612/0.01615, allocations: 21.72 MB / 0.4914 GB, free: 13.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.02447, allocations: 6.374 MB / 0.4977 GB, free: 9.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008436/0.02531, allocations: 37.72 kB / 0.4977 GB, free: 9.301 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.02628, allocations: 354.5 kB / 0.498 GB, free: 9.105 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.02854, allocations: 1.018 MB / 0.499 GB, free: 8.527 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.03147, allocations: 1.289 MB / 0.5003 GB, free: 7.914 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.03384, allocations: 1.827 MB / 0.5021 GB, free: 6.91 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008007/0.03464, allocations: 448.1 kB / 0.5025 GB, free: 6.508 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.03673, allocations: 1.048 MB / 0.5035 GB, free: 5.68 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007673/0.03749, allocations: 452 kB / 0.504 GB, free: 5.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.0376, allocations: 45.53 kB / 0.504 GB, free: 5.289 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.03954, allocations: 0.937 MB / 0.5049 GB, free: 4.559 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.03972, allocations: 161.9 kB / 0.5051 GB, free: 4.426 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.04, allocations: 236.4 kB / 0.5053 GB, free: 4.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.04214, allocations: 1.125 MB / 0.5064 GB, free: 3.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04215, allocations: 0.7188 kB / 0.5064 GB, free: 3.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.04215, allocations: 0 / 0.5064 GB, free: 3.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.04216, allocations: 1.875 kB / 0.5064 GB, free: 3.316 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.001657/0.04382, allocations: 1.167 MB / 0.5075 GB, free: 2.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.04386, allocations: 12.62 kB / 0.5075 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005635/0.04443, allocations: 194.9 kB / 0.5077 GB, free: 1.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.04531, allocations: 0.5787 MB / 0.5083 GB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.04534, allocations: 37 kB / 0.5083 GB, free: 1.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.0454, allocations: 48 kB / 0.5084 GB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.04599, allocations: 0.5071 MB / 0.5089 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.046, allocations: 4 kB / 0.5089 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.04604, allocations: 16 kB / 0.5089 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.04607, allocations: 12 kB / 0.5089 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.04637, allocations: 206.1 kB / 0.5091 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.04803, allocations: 1.652 MB / 0.5107 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.04844, allocations: 219.9 kB / 0.5109 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.04858, allocations: 121.6 kB / 0.511 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.04871, allocations: 44.2 kB / 0.5111 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.049, allocations: 337.2 kB / 0.5114 GB, free: 13.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.049, allocations: 0 / 0.5114 GB, free: 13.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.001002/0.05, allocations: 0.5402 MB / 0.5119 GB, free: 13.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.05004, allocations: 89.09 kB / 0.512 GB, free: 13.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004028/0.05044, allocations: 0.5415 MB / 0.5125 GB, free: 12.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.05048, allocations: 41.64 kB / 0.5126 GB, free: 12.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.05065, allocations: 360 kB / 0.5129 GB, free: 12.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.05072, allocations: 111.1 kB / 0.513 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.05083, allocations: 111.8 kB / 0.5131 GB, free: 12.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.05099, allocations: 0.5391 MB / 0.5137 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.05113, allocations: 115.3 kB / 0.5138 GB, free: 11.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.05144, allocations: 0.5522 MB / 0.5143 GB, free: 10.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.05182, allocations: 480.2 kB / 0.5148 GB, free: 10.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.05183, allocations: 0 / 0.5148 GB, free: 10.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006828/0.05251, allocations: 0.5703 MB / 0.5153 GB, free: 9.559 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.05254, allocations: 37.7 kB / 0.5154 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.05256, allocations: 11.98 kB / 0.5154 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/0.05288, allocations: 95.83 kB / 0.5155 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.0531, allocations: 99.83 kB / 0.5156 GB, free: 9.309 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003676/0.05347, allocations: 0.8428 MB / 0.5164 GB, free: 8.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.05372, allocations: 59.66 kB / 0.5164 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.05375, allocations: 32.02 kB / 0.5165 GB, free: 8.344 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000222/0.05397, allocations: 237.5 kB / 0.5167 GB, free: 8.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003168/0.05429, allocations: 0.5522 MB / 0.5172 GB, free: 7.379 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003647/0.05465, allocations: 483.2 kB / 0.5177 GB, free: 6.789 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.05466, allocations: 0 / 0.5177 GB, free: 6.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0005937/0.05525, allocations: 0.5353 MB / 0.5182 GB, free: 6.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.05528, allocations: 41.7 kB / 0.5183 GB, free: 6.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.05528, allocations: 8.031 kB / 0.5183 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001156/0.0554, allocations: 51.66 kB / 0.5183 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.0556, allocations: 103.8 kB / 0.5184 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.05668, allocations: 2.122 MB / 0.5205 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.05693, allocations: 51.77 kB / 0.5205 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.05696, allocations: 20 kB / 0.5206 GB, free: 3.707 MB / 442.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.0001833/0.05715, allocations: 344.4 kB / 0.5209 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.05723, allocations: 83.58 kB / 0.521 GB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005714/0.0578, allocations: 465 kB / 0.5214 GB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.05781, allocations: 4.047 kB / 0.5214 GB, free: 2.793 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.05781, allocations: 3.984 kB / 0.5214 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004504/0.05827, allocations: 0.6047 MB / 0.522 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.05927, allocations: 1.011 MB / 0.523 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.05928, allocations: 0 / 0.523 GB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.05944, allocations: 63.98 kB / 0.5231 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.05956, allocations: 47.64 kB / 0.5231 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.05958, allocations: 12 kB / 0.5231 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002681/0.05985, allocations: 0.8118 MB / 0.5239 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.05985, allocations: 11.88 kB / 0.5239 GB, free: 40 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.06057, allocations: 0.7145 MB / 0.5246 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.06078, allocations: 107.5 kB / 0.5247 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.06085, allocations: 8 kB / 0.5247 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.06108, allocations: 31.95 kB / 0.5248 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.06114, allocations: 24 kB / 0.5248 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.06116, allocations: 19.98 kB / 0.5248 GB, free: 15.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.06141, allocations: 350.7 kB / 0.5251 GB, free: 14.74 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06141, allocations: 0 / 0.5251 GB, free: 14.74 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008557/0.06227, allocations: 371.2 kB / 0.5255 GB, free: 14.38 MB / 458.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.0004263/0.06269, allocations: 304.6 kB / 0.5258 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.06366, allocations: 0.8587 MB / 0.5266 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.06366, allocations: 5.625 kB / 0.5266 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.06389, allocations: 221.3 kB / 0.5268 GB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.06456, allocations: 239.1 kB / 0.5271 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.06617, allocations: 1.053 MB / 0.5281 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.06626, allocations: 142.3 kB / 0.5282 GB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.06657, allocations: 122.9 kB / 0.5283 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.06665, allocations: 52.48 kB / 0.5284 GB, free: 11.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.272e-06/0.06666, allocations: 4 kB / 0.5284 GB, free: 11.24 MB / 458.7 MB Notification: Performance of Templates: time 0.01494/0.0816, allocations: 11.61 MB / 0.5397 GB, free: 15.86 MB / 474.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: 3.8734020858537406]