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.001534/0.001533, allocations: 110.2 kB / 16.64 MB, free: 6.371 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.001618/0.001618, allocations: 197.3 kB / 17.56 MB, free: 5.797 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.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7681/0.7681, allocations: 122.9 MB / 414.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 63.89 kB / 0.4912 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.416, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.02059/0.4366, allocations: 20.68 MB / 0.5875 GB, free: 17.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007944/0.4446, allocations: 5.381 MB / 0.5928 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.4459, allocations: 25.69 kB / 0.5928 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.447, allocations: 292 kB / 0.5931 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.4498, allocations: 0.8577 MB / 0.5939 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.4523, allocations: 0.8428 MB / 0.5947 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.4546, allocations: 1.743 MB / 0.5964 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.4553, allocations: 494.3 kB / 0.5969 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.4575, allocations: 0.714 MB / 0.5976 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007704/0.4583, allocations: 0.4938 MB / 0.5981 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.4584, allocations: 41.5 kB / 0.5981 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.4606, allocations: 1.127 MB / 0.5992 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.4608, allocations: 152.4 kB / 0.5994 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.4612, allocations: 321.8 kB / 0.5997 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.4627, allocations: 0.8724 MB / 0.6005 GB, free: 8.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4627, allocations: 7.938 kB / 0.6005 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4627, allocations: 0 / 0.6005 GB, free: 8.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4627, allocations: 1.625 kB / 0.6005 GB, free: 8.75 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.00155/0.4643, allocations: 1.044 MB / 0.6016 GB, free: 7.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4643, allocations: 11.97 kB / 0.6016 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.4652, allocations: 180 kB / 0.6017 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.4662, allocations: 0.5536 MB / 0.6023 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.4665, allocations: 84.94 kB / 0.6024 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.4665, allocations: 43.98 kB / 0.6024 GB, free: 6.965 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.4674, allocations: 499.9 kB / 0.6029 GB, free: 6.457 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.4674, allocations: 7.984 kB / 0.6029 GB, free: 6.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.4675, allocations: 20 kB / 0.6029 GB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4675, allocations: 8 kB / 0.6029 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.4683, allocations: 414.6 kB / 0.6033 GB, free: 6.016 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.002331/0.4707, allocations: 2.293 MB / 0.6056 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.4716, allocations: 377.5 kB / 0.6059 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.472, allocations: 229 kB / 0.6061 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/0.4722, allocations: 340.6 kB / 0.6065 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005399/0.4727, allocations: 302.9 kB / 0.6067 GB, free: 2.188 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.4728, allocations: 4 kB / 0.6068 GB, free: 2.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002009/0.4748, allocations: 0.8694 MB / 0.6076 GB, free: 1.281 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.4748, allocations: 85.11 kB / 0.6077 GB, free: 1.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.4752, allocations: 498.8 kB / 0.6082 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4753, allocations: 33.7 kB / 0.6082 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4754, allocations: 276.4 kB / 0.6085 GB, free: 380 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.4755, allocations: 106.5 kB / 0.6086 GB, free: 272 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4756, allocations: 77.59 kB / 0.6086 GB, free: 188 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4758, allocations: 370.8 kB / 0.609 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.4762, allocations: 182.1 kB / 0.6092 GB, free: 15.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.4767, allocations: 269.2 kB / 0.6094 GB, free: 15.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008892/0.4776, allocations: 469.2 kB / 0.6099 GB, free: 14.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4776, allocations: 0 / 0.6099 GB, free: 14.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001399/0.479, allocations: 0.6277 MB / 0.6105 GB, free: 14.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.4791, allocations: 37.69 kB / 0.6105 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4791, allocations: 0 / 0.6105 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.4795, allocations: 84.97 kB / 0.6106 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.4798, allocations: 75.88 kB / 0.6107 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004633/0.4803, allocations: 0.5991 MB / 0.6112 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.4809, allocations: 75.72 kB / 0.6113 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.4809, allocations: 19.94 kB / 0.6113 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005859/0.4815, allocations: 319.7 kB / 0.6116 GB, free: 12.96 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004813/0.482, allocations: 257.3 kB / 0.6119 GB, free: 12.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008879/0.4829, allocations: 469.1 kB / 0.6123 GB, free: 12.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-06/0.4829, allocations: 3.938 kB / 0.6123 GB, free: 12.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001276/0.4842, allocations: 0.5965 MB / 0.6129 GB, free: 11.56 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/0.4843, allocations: 41.69 kB / 0.613 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.4843, allocations: 0 / 0.613 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.4845, allocations: 48.98 kB / 0.613 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.4848, allocations: 75.89 kB / 0.6131 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.4864, allocations: 1.814 MB / 0.6149 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.4871, allocations: 75.78 kB / 0.6149 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.4871, allocations: 15.94 kB / 0.6149 GB, free: 9.336 MB / 462.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.000241/0.4874, allocations: 233.9 kB / 0.6152 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.4875, allocations: 55.34 kB / 0.6152 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.489, allocations: 0.657 MB / 0.6159 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.489, allocations: 4 kB / 0.6159 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.489, allocations: 0 / 0.6159 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/0.4903, allocations: 0.8065 MB / 0.6166 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.4927, allocations: 1.299 MB / 0.6179 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4927, allocations: 0 / 0.6179 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.493, allocations: 67.98 kB / 0.618 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001529/0.4932, allocations: 48.81 kB / 0.618 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.4933, allocations: 12 kB / 0.618 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000395/0.4937, allocations: 0.5834 MB / 0.6186 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4937, allocations: 4.031 kB / 0.6186 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.4956, allocations: 0.9717 MB / 0.6196 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.4959, allocations: 184.3 kB / 0.6197 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.496, allocations: 15.98 kB / 0.6198 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.4967, allocations: 64.02 kB / 0.6198 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.4968, allocations: 23.91 kB / 0.6198 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.4968, allocations: 19.98 kB / 0.6199 GB, free: 4.031 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004601/0.4973, allocations: 350.8 kB / 0.6202 GB, free: 3.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4973, allocations: 0 / 0.6202 GB, free: 3.691 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4986, allocations: 339.5 kB / 0.6205 GB, free: 3.359 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.0008931/0.4995, allocations: 300.5 kB / 0.6208 GB, free: 3.066 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.5017, allocations: 1.01 MB / 0.6218 GB, free: 2.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.5018, allocations: 3.984 kB / 0.6218 GB, free: 2.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.5024, allocations: 324 kB / 0.6221 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.5037, allocations: 223.1 kB / 0.6223 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.5062, allocations: 1.354 MB / 0.6236 GB, free: 88 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.5067, allocations: 0.8745 MB / 0.6245 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.5069, allocations: 55.41 kB / 0.6245 GB, free: 15.13 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.5069, allocations: 0 / 0.6245 GB, free: 15.13 MB / 478.1 MB Notification: Performance of Templates: time 0.01865/0.5256, allocations: 11.41 MB / 0.6357 GB, free: 3.809 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)