Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001088/0.001088, allocations: 117 kB / 16.37 MB, free: 6.012 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.001187/0.001187, allocations: 188.8 kB / 17.3 MB, free: 5.613 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7907/0.7907, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3766, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01558/0.3922, allocations: 20.85 MB / 0.6018 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005996/0.3983, allocations: 5.371 MB / 0.6071 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006212/0.3989, allocations: 24.75 kB / 0.6071 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000761/0.3997, allocations: 345.8 kB / 0.6074 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.4016, allocations: 0.9223 MB / 0.6083 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.4037, allocations: 0.9391 MB / 0.6093 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.4053, allocations: 1.731 MB / 0.611 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007096/0.406, allocations: 499.5 kB / 0.6114 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.4076, allocations: 0.69 MB / 0.6121 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.4082, allocations: 0.4901 MB / 0.6126 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.4083, allocations: 40 kB / 0.6126 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.4102, allocations: 1.123 MB / 0.6137 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.4104, allocations: 151.4 kB / 0.6139 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003083/0.4107, allocations: 318.3 kB / 0.6142 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.4123, allocations: 1.223 MB / 0.6154 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4123, allocations: 0 / 0.6154 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4123, allocations: 0 / 0.6154 GB, free: 11.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4123, allocations: 7.938 kB / 0.6154 GB, free: 11.48 MB / 462.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.001566/0.4139, allocations: 1.042 MB / 0.6164 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4139, allocations: 8.031 kB / 0.6164 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.4148, allocations: 187.9 kB / 0.6166 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.416, allocations: 0.5881 MB / 0.6171 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.416, allocations: 29 kB / 0.6172 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.4161, allocations: 36 kB / 0.6172 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009259/0.417, allocations: 499.9 kB / 0.6177 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.417, allocations: 0 / 0.6177 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.4171, allocations: 19.94 kB / 0.6177 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.4171, allocations: 12 kB / 0.6177 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009837/0.4181, allocations: 406.6 kB / 0.6181 GB, free: 8.555 MB / 462.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.00284/0.421, allocations: 2.285 MB / 0.6203 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.4219, allocations: 365.9 kB / 0.6207 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.4224, allocations: 226.3 kB / 0.6209 GB, free: 5.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.4227, allocations: 340.6 kB / 0.6212 GB, free: 5.062 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006025/0.4233, allocations: 298.1 kB / 0.6215 GB, free: 4.754 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.4234, allocations: 0 / 0.6215 GB, free: 4.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002182/0.4255, allocations: 0.8547 MB / 0.6223 GB, free: 3.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4256, allocations: 85.11 kB / 0.6224 GB, free: 3.766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.4261, allocations: 494.9 kB / 0.6229 GB, free: 3.273 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.4262, allocations: 37.7 kB / 0.6229 GB, free: 3.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.4264, allocations: 276.4 kB / 0.6232 GB, free: 2.957 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-05/0.4265, allocations: 98.56 kB / 0.6233 GB, free: 2.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4266, allocations: 81.59 kB / 0.6234 GB, free: 2.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4268, allocations: 366.7 kB / 0.6237 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.4272, allocations: 180.5 kB / 0.6239 GB, free: 2.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.4277, allocations: 261.2 kB / 0.6241 GB, free: 1.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.4286, allocations: 466.2 kB / 0.6246 GB, free: 1.449 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4286, allocations: 4 kB / 0.6246 GB, free: 1.445 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001383/0.43, allocations: 0.6085 MB / 0.6252 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.4301, allocations: 41.69 kB / 0.6252 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4301, allocations: 4 kB / 0.6252 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.4304, allocations: 68.75 kB / 0.6253 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.4308, allocations: 84.03 kB / 0.6254 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004744/0.4313, allocations: 0.5913 MB / 0.6259 GB, free: 0 / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/0.4318, allocations: 63.7 kB / 0.626 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.4318, allocations: 12 kB / 0.626 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005663/0.4324, allocations: 312 kB / 0.6263 GB, free: 15.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004801/0.4329, allocations: 261 kB / 0.6266 GB, free: 15.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009083/0.4338, allocations: 464.9 kB / 0.627 GB, free: 14.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4338, allocations: 0 / 0.627 GB, free: 14.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.00132/0.4352, allocations: 0.5849 MB / 0.6276 GB, free: 14.24 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.4352, allocations: 37.69 kB / 0.6276 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4352, allocations: 8.156 kB / 0.6276 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.4354, allocations: 44.83 kB / 0.6277 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.4357, allocations: 75.89 kB / 0.6277 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.4373, allocations: 1.811 MB / 0.6295 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.4377, allocations: 55.7 kB / 0.6296 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.4378, allocations: 16 kB / 0.6296 GB, free: 12.04 MB / 478.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.0001914/0.438, allocations: 242 kB / 0.6298 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4381, allocations: 59.25 kB / 0.6299 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.4395, allocations: 0.6421 MB / 0.6305 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.4395, allocations: 4 kB / 0.6305 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4395, allocations: 3.938 kB / 0.6305 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.4408, allocations: 0.8102 MB / 0.6313 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.443, allocations: 1.284 MB / 0.6325 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.443, allocations: 3.984 kB / 0.6325 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.4434, allocations: 63.89 kB / 0.6326 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/0.4435, allocations: 44.94 kB / 0.6327 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.4436, allocations: 11.98 kB / 0.6327 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003597/0.4439, allocations: 0.5796 MB / 0.6332 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4439, allocations: 3.938 kB / 0.6332 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4457, allocations: 0.9653 MB / 0.6342 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.446, allocations: 180.3 kB / 0.6343 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.4461, allocations: 8 kB / 0.6344 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.4466, allocations: 40.02 kB / 0.6344 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.4467, allocations: 23.91 kB / 0.6344 GB, free: 6.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-05/0.4467, allocations: 20.05 kB / 0.6344 GB, free: 6.801 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.4471, allocations: 346.8 kB / 0.6348 GB, free: 6.465 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4471, allocations: 4 kB / 0.6348 GB, free: 6.461 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009189/0.448, allocations: 335.5 kB / 0.6351 GB, free: 6.133 MB / 478.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.0006455/0.4487, allocations: 312.6 kB / 0.6354 GB, free: 5.832 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.4507, allocations: 0.9712 MB / 0.6363 GB, free: 4.824 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4507, allocations: 0 / 0.6363 GB, free: 4.824 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.4513, allocations: 320.4 kB / 0.6366 GB, free: 4.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4523, allocations: 222.2 kB / 0.6369 GB, free: 4.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.4545, allocations: 1.11 MB / 0.6379 GB, free: 3.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.4549, allocations: 0.8823 MB / 0.6388 GB, free: 2.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.4554, allocations: 131.6 kB / 0.6389 GB, free: 2.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4555, allocations: 43.42 kB / 0.639 GB, free: 2.062 MB / 478.1 MB Notification: Performance of SimCode: time 1.924e-06/0.4555, allocations: 0 / 0.639 GB, free: 2.062 MB / 478.1 MB Notification: Performance of Templates: time 0.01959/0.4751, allocations: 11.31 MB / 0.65 GB, free: 6.891 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)