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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 89.69 kB / 16.66 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 179.6 kB / 17.57 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7745/0.7745, allocations: 115.5 MB / 408.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4098, allocations: 77.52 MB / 0.5606 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.01866/0.4285, allocations: 20.12 MB / 0.5802 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008041/0.4366, allocations: 5.394 MB / 0.5855 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.4378, allocations: 23.16 kB / 0.5855 GB, free: 17.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.4388, allocations: 289 kB / 0.5858 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.4417, allocations: 0.8554 MB / 0.5866 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.4447, allocations: 0.817 MB / 0.5874 GB, free: 16.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00379/0.4485, allocations: 2.301 MB / 0.5897 GB, free: 16.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/0.4494, allocations: 433.7 kB / 0.5901 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.451, allocations: 0.5973 MB / 0.5907 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008188/0.4518, allocations: 498.8 kB / 0.5912 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/0.4519, allocations: 22.28 kB / 0.5912 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002694/0.4546, allocations: 1.094 MB / 0.5922 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.4548, allocations: 127.8 kB / 0.5924 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.4552, allocations: 328.7 kB / 0.5927 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.4565, allocations: 0.8658 MB / 0.5935 GB, free: 14.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4565, allocations: 0 / 0.5935 GB, free: 14.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4565, allocations: 0 / 0.5935 GB, free: 14.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.4565, allocations: 0 / 0.5935 GB, free: 14.35 MB / 446.1 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.0015/0.458, allocations: 0.9161 MB / 0.5944 GB, free: 13.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4581, allocations: 13.19 kB / 0.5944 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.459, allocations: 203 kB / 0.5946 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.46, allocations: 0.5595 MB / 0.5952 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/0.4603, allocations: 99.56 kB / 0.5953 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.441e-05/0.4604, allocations: 38.91 kB / 0.5953 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.4614, allocations: 0.5015 MB / 0.5958 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4614, allocations: 1.344 kB / 0.5958 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.4615, allocations: 15.94 kB / 0.5958 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.4615, allocations: 13.19 kB / 0.5958 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4625, allocations: 430.5 kB / 0.5962 GB, free: 12.43 MB / 446.1 MB 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.002635/0.4652, allocations: 2.298 MB / 0.5985 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.4662, allocations: 394.4 kB / 0.5989 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.4668, allocations: 238.3 kB / 0.5991 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.467, allocations: 342 kB / 0.5994 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/0.4676, allocations: 303 kB / 0.5997 GB, free: 9.477 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.4676, allocations: 0 / 0.5997 GB, free: 9.477 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002217/0.4699, allocations: 0.9019 MB / 0.6006 GB, free: 8.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.4699, allocations: 83.08 kB / 0.6007 GB, free: 8.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.4704, allocations: 498.8 kB / 0.6011 GB, free: 8.586 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.4705, allocations: 32.67 kB / 0.6012 GB, free: 8.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.4707, allocations: 283.3 kB / 0.6014 GB, free: 8.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.4708, allocations: 109.1 kB / 0.6015 GB, free: 8.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.4708, allocations: 36.64 kB / 0.6016 GB, free: 8.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.4709, allocations: 363 kB / 0.6019 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.4714, allocations: 183.3 kB / 0.6021 GB, free: 7.746 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.4719, allocations: 279.5 kB / 0.6024 GB, free: 7.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/0.4729, allocations: 490.8 kB / 0.6028 GB, free: 7.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4729, allocations: 5 kB / 0.6028 GB, free: 7.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001386/0.4743, allocations: 0.6368 MB / 0.6035 GB, free: 6.832 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.574e-05/0.4744, allocations: 171.9 kB / 0.6036 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4744, allocations: 3.984 kB / 0.6036 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.4747, allocations: 68.81 kB / 0.6037 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.4751, allocations: 83.88 kB / 0.6038 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003351/0.4754, allocations: 0.5952 MB / 0.6043 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.476, allocations: 83.69 kB / 0.6044 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.476, allocations: 12 kB / 0.6044 GB, free: 5.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.4761, allocations: 4 kB / 0.6044 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/0.4771, allocations: 0.5642 MB / 0.605 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.4772, allocations: 0 / 0.605 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.4773, allocations: 48.83 kB / 0.605 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.4776, allocations: 88.03 kB / 0.6051 GB, free: 5.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4787, allocations: 1.638 MB / 0.6067 GB, free: 3.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005496/0.4793, allocations: 75.7 kB / 0.6068 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.4793, allocations: 19.98 kB / 0.6068 GB, free: 3.168 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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.0003174/0.4797, allocations: 295.3 kB / 0.6071 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.4797, allocations: 59.25 kB / 0.6072 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.481, allocations: 0.6779 MB / 0.6078 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.481, allocations: 4 kB / 0.6078 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.481, allocations: 3.938 kB / 0.6078 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.4821, allocations: 0.8171 MB / 0.6086 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.4841, allocations: 1.323 MB / 0.6099 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4841, allocations: 4 kB / 0.6099 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.4845, allocations: 67.98 kB / 0.61 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.4846, allocations: 44.83 kB / 0.61 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.4847, allocations: 8 kB / 0.61 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003975/0.4851, allocations: 0.5758 MB / 0.6106 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4851, allocations: 11.94 kB / 0.6106 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.487, allocations: 1.015 MB / 0.6116 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.4873, allocations: 180.3 kB / 0.6118 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.4874, allocations: 8 kB / 0.6118 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.488, allocations: 64 kB / 0.6118 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.4881, allocations: 23.97 kB / 0.6119 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/0.4881, allocations: 15.98 kB / 0.6119 GB, free: 13.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004003/0.4885, allocations: 346.8 kB / 0.6122 GB, free: 13.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4885, allocations: 4 kB / 0.6122 GB, free: 13.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4897, allocations: 339.4 kB / 0.6125 GB, free: 13.03 MB / 462.1 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.0007192/0.4904, allocations: 304.2 kB / 0.6128 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.4926, allocations: 0.9988 MB / 0.6138 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4926, allocations: 4.062 kB / 0.6138 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.4932, allocations: 335.2 kB / 0.6141 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.4947, allocations: 256.2 kB / 0.6144 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4971, allocations: 1.423 MB / 0.6158 GB, free: 9.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.4975, allocations: 0.8745 MB / 0.6166 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4977, allocations: 51.42 kB / 0.6167 GB, free: 8.699 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4977, allocations: 0 / 0.6167 GB, free: 8.699 MB / 462.1 MB Notification: Performance of Templates: time 0.01608/0.5138, allocations: 11.42 MB / 0.6278 GB, free: 13.36 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)