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.001092/0.001097, allocations: 110 kB / 16.37 MB, free: 6.469 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.001105/0.001105, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.792/0.792, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001249, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3647, allocations: 80.18 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.0172/0.382, allocations: 20.84 MB / 0.6018 GB, free: 9.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007083/0.3891, allocations: 5.371 MB / 0.6071 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008324/0.39, allocations: 23.88 kB / 0.6071 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008749/0.3909, allocations: 354.6 kB / 0.6075 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.3932, allocations: 0.9178 MB / 0.6083 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.3955, allocations: 0.9345 MB / 0.6093 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3973, allocations: 1.73 MB / 0.6109 GB, free: 32 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000774/0.3981, allocations: 0.4888 MB / 0.6114 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.3998, allocations: 0.7032 MB / 0.6121 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000705/0.4005, allocations: 493.8 kB / 0.6126 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.106e-05/0.4006, allocations: 44 kB / 0.6126 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.4028, allocations: 1.127 MB / 0.6137 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.403, allocations: 147.5 kB / 0.6139 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.4033, allocations: 322.3 kB / 0.6142 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.4053, allocations: 1.223 MB / 0.6154 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4054, allocations: 0 / 0.6154 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4054, allocations: 0 / 0.6154 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4054, allocations: 0 / 0.6154 GB, free: 11.5 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.001719/0.4071, allocations: 1.049 MB / 0.6164 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4072, allocations: 8.031 kB / 0.6164 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009039/0.4081, allocations: 184 kB / 0.6166 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.4093, allocations: 0.5804 MB / 0.6171 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.4093, allocations: 33 kB / 0.6172 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.4094, allocations: 36 kB / 0.6172 GB, free: 9.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.4103, allocations: 499.9 kB / 0.6177 GB, free: 9.008 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4103, allocations: 4 kB / 0.6177 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.4104, allocations: 16 kB / 0.6177 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4104, allocations: 15.88 kB / 0.6177 GB, free: 8.973 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.4114, allocations: 406.6 kB / 0.6181 GB, free: 8.574 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.002946/0.4143, allocations: 2.285 MB / 0.6203 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.4153, allocations: 363.5 kB / 0.6207 GB, free: 5.715 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.4158, allocations: 232.9 kB / 0.6209 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.4161, allocations: 336.7 kB / 0.6212 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006249/0.4167, allocations: 302.2 kB / 0.6215 GB, free: 4.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.4168, allocations: 0 / 0.6215 GB, free: 4.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.002276/0.419, allocations: 0.8429 MB / 0.6223 GB, free: 3.895 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.4191, allocations: 89.03 kB / 0.6224 GB, free: 3.789 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005661/0.4197, allocations: 498.9 kB / 0.6229 GB, free: 3.293 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.4197, allocations: 33.7 kB / 0.6229 GB, free: 3.254 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.42, allocations: 280.4 kB / 0.6232 GB, free: 2.977 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.4201, allocations: 98.55 kB / 0.6233 GB, free: 2.879 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4202, allocations: 81.59 kB / 0.6234 GB, free: 2.793 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4204, allocations: 366.8 kB / 0.6237 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.4208, allocations: 184.5 kB / 0.6239 GB, free: 2.242 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.4213, allocations: 257.3 kB / 0.6241 GB, free: 1.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.4222, allocations: 462.1 kB / 0.6246 GB, free: 1.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4222, allocations: 0 / 0.6246 GB, free: 1.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001364/0.4236, allocations: 0.6202 MB / 0.6252 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.4237, allocations: 41.84 kB / 0.6252 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4237, allocations: 0 / 0.6252 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003663/0.4241, allocations: 68.75 kB / 0.6253 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.4244, allocations: 79.88 kB / 0.6254 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004747/0.4249, allocations: 0.5914 MB / 0.6259 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.4254, allocations: 59.64 kB / 0.626 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.4255, allocations: 20 kB / 0.626 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005548/0.426, allocations: 308 kB / 0.6263 GB, free: 15.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004709/0.4265, allocations: 261.1 kB / 0.6266 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000883/0.4274, allocations: 457.1 kB / 0.627 GB, free: 14.87 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.4274, allocations: 0 / 0.627 GB, free: 14.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001231/0.4287, allocations: 0.5927 MB / 0.6276 GB, free: 14.26 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.4287, allocations: 33.7 kB / 0.6276 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.4287, allocations: 0 / 0.6276 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001477/0.4289, allocations: 60.92 kB / 0.6277 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.4292, allocations: 75.88 kB / 0.6277 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.4307, allocations: 1.811 MB / 0.6295 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.4312, allocations: 55.75 kB / 0.6296 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.4312, allocations: 19.98 kB / 0.6296 GB, free: 12.05 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.0002059/0.4315, allocations: 237.8 kB / 0.6298 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.4316, allocations: 59.25 kB / 0.6299 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.433, allocations: 0.643 MB / 0.6305 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.433, allocations: 4 kB / 0.6305 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.433, allocations: 0 / 0.6305 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001238/0.4343, allocations: 0.7985 MB / 0.6313 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.4365, allocations: 1.299 MB / 0.6325 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/0.4365, allocations: 4 kB / 0.6326 GB, free: 8.832 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.4368, allocations: 63.94 kB / 0.6326 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.437, allocations: 36.84 kB / 0.6326 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.437, allocations: 20.08 kB / 0.6327 GB, free: 8.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003511/0.4374, allocations: 0.5717 MB / 0.6332 GB, free: 8.113 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4374, allocations: 4.031 kB / 0.6332 GB, free: 8.109 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4392, allocations: 0.9616 MB / 0.6342 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.4395, allocations: 176.3 kB / 0.6343 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.4396, allocations: 11.98 kB / 0.6343 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.4401, allocations: 40.03 kB / 0.6344 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.4401, allocations: 27.84 kB / 0.6344 GB, free: 6.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.4402, allocations: 19.98 kB / 0.6344 GB, free: 6.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.4406, allocations: 346.8 kB / 0.6348 GB, free: 6.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4406, allocations: 0 / 0.6348 GB, free: 6.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001015/0.4416, allocations: 335.5 kB / 0.6351 GB, free: 6.16 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.0006687/0.4423, allocations: 307.5 kB / 0.6354 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001977/0.4443, allocations: 0.9673 MB / 0.6363 GB, free: 4.855 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4443, allocations: 8.062 kB / 0.6363 GB, free: 4.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00061/0.4449, allocations: 320.3 kB / 0.6366 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.446, allocations: 230 kB / 0.6369 GB, free: 4.309 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.4481, allocations: 1.108 MB / 0.6379 GB, free: 3.168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4486, allocations: 0.8784 MB / 0.6388 GB, free: 2.258 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.449, allocations: 134.9 kB / 0.6389 GB, free: 2.125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4491, allocations: 55.36 kB / 0.639 GB, free: 2.074 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4492, allocations: 0 / 0.639 GB, free: 2.074 MB / 478.1 MB Notification: Performance of Templates: time 0.0192/0.4684, allocations: 11.3 MB / 0.65 GB, free: 6.91 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)