Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001223/0.001223, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001517/0.001518, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9421/0.9421, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004385, allocations: 11.98 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 83.41 MB / 0.5973 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.2698/0.4451, allocations: 17.48 MB / 0.6143 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005094/0.4503, allocations: 4.653 MB / 0.6189 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.4507, allocations: 24.75 kB / 0.6189 GB, free: 33.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.4514, allocations: 300.8 kB / 0.6192 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.4528, allocations: 0.8132 MB / 0.62 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.4547, allocations: 0.9028 MB / 0.6209 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001092/0.4558, allocations: 1.045 MB / 0.6219 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.4563, allocations: 407.5 kB / 0.6223 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000669/0.457, allocations: 0.5406 MB / 0.6228 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.4573, allocations: 325.7 kB / 0.6231 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.4574, allocations: 25.12 kB / 0.6231 GB, free: 30.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.4586, allocations: 0.8217 MB / 0.6239 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4587, allocations: 123 kB / 0.6241 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.4588, allocations: 138 kB / 0.6242 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007345/0.4596, allocations: 0.812 MB / 0.625 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.4596, allocations: 0 / 0.625 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4596, allocations: 0 / 0.625 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.4596, allocations: 0 / 0.625 GB, free: 30.3 MB / 0.4981 GB 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.001184/0.4608, allocations: 0.9185 MB / 0.6259 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.4608, allocations: 7.75 kB / 0.6259 GB, free: 29.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.4617, allocations: 205 kB / 0.6261 GB, free: 29.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.4624, allocations: 0.5036 MB / 0.6266 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4628, allocations: 97.12 kB / 0.6267 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.4628, allocations: 42.22 kB / 0.6267 GB, free: 29.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.4637, allocations: 0.4913 MB / 0.6272 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4637, allocations: 4 kB / 0.6272 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.4638, allocations: 15 kB / 0.6272 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.4638, allocations: 10.94 kB / 0.6272 GB, free: 28.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009503/0.4648, allocations: 433.4 kB / 0.6276 GB, free: 28.8 MB / 0.4981 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.002663/0.4675, allocations: 2.31 MB / 0.6299 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.4684, allocations: 407.1 kB / 0.6303 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.4687, allocations: 334.5 kB / 0.6306 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.4693, allocations: 309.7 kB / 0.6309 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.4693, allocations: 0 / 0.6309 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002098/0.4714, allocations: 0.9743 MB / 0.6318 GB, free: 25.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.4714, allocations: 86.77 kB / 0.6319 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.4719, allocations: 0.494 MB / 0.6324 GB, free: 25.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.4719, allocations: 32.7 kB / 0.6324 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.4721, allocations: 283 kB / 0.6327 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.4722, allocations: 106.9 kB / 0.6328 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.4722, allocations: 7.062 kB / 0.6328 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.4723, allocations: 362.6 kB / 0.6332 GB, free: 24.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.4727, allocations: 179.7 kB / 0.6333 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.4732, allocations: 263.5 kB / 0.6336 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.4736, allocations: 232.7 kB / 0.6338 GB, free: 24.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4737, allocations: 0 / 0.6338 GB, free: 24.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001296/0.475, allocations: 0.6378 MB / 0.6344 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.4751, allocations: 0.6469 MB / 0.6351 GB, free: 23.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4751, allocations: 6.734 kB / 0.6351 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.4755, allocations: 66.17 kB / 0.6351 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.4759, allocations: 86.7 kB / 0.6352 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00032/0.4762, allocations: 0.5929 MB / 0.6358 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.4767, allocations: 86.89 kB / 0.6359 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.4768, allocations: 14.78 kB / 0.6359 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.4768, allocations: 3.031 kB / 0.6359 GB, free: 23.02 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.4779, allocations: 0.5594 MB / 0.6364 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.4779, allocations: 2.219 kB / 0.6364 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.478, allocations: 47.2 kB / 0.6365 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.4784, allocations: 83.64 kB / 0.6366 GB, free: 22.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.4795, allocations: 1.637 MB / 0.6382 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/0.48, allocations: 82.02 kB / 0.6382 GB, free: 21.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.4801, allocations: 21.78 kB / 0.6383 GB, free: 21.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.4803, allocations: 301.5 kB / 0.6386 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.4804, allocations: 58.03 kB / 0.6386 GB, free: 20.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.4816, allocations: 0.6638 MB / 0.6393 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4817, allocations: 2.969 kB / 0.6393 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4817, allocations: 3.422 kB / 0.6393 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.4828, allocations: 0.8207 MB / 0.6401 GB, free: 20.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.4846, allocations: 1.326 MB / 0.6414 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4846, allocations: 6.562 kB / 0.6414 GB, free: 19.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.4849, allocations: 67.47 kB / 0.6414 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.4851, allocations: 45.97 kB / 0.6415 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4851, allocations: 9.25 kB / 0.6415 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002285/0.4853, allocations: 0.5717 MB / 0.642 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4854, allocations: 5.766 kB / 0.642 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.487, allocations: 1.049 MB / 0.6431 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.4872, allocations: 185.9 kB / 0.6432 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.4873, allocations: 9.344 kB / 0.6433 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.4879, allocations: 71.47 kB / 0.6433 GB, free: 18.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.694e-05/0.4879, allocations: 24.86 kB / 0.6433 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.488, allocations: 20.5 kB / 0.6434 GB, free: 18.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003173/0.4883, allocations: 354.5 kB / 0.6437 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4883, allocations: 3.938 kB / 0.6437 GB, free: 17.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001024/0.4894, allocations: 346.6 kB / 0.644 GB, free: 17.89 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005261/0.4899, allocations: 302.2 kB / 0.6443 GB, free: 17.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001889/0.4918, allocations: 0.9905 MB / 0.6453 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4918, allocations: 3.938 kB / 0.6453 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.4924, allocations: 330.9 kB / 0.6456 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.4936, allocations: 235.2 kB / 0.6458 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.4958, allocations: 1.362 MB / 0.6472 GB, free: 16.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.4961, allocations: 0.8877 MB / 0.648 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005493/0.4967, allocations: 133.6 kB / 0.6482 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.4968, allocations: 50.56 kB / 0.6482 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.4968, allocations: 0.5312 kB / 0.6482 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.02053/0.5173, allocations: 11.1 MB / 0.659 GB, free: 14.52 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: