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.0008482/0.0008482, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0009194/0.0009195, allocations: 172.7 kB / 15.95 MB, free: 208 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.185/1.185, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6708/0.6708, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002618, allocations: 8 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3346, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ConservationEquation): time 0.01687/0.3515, allocations: 19.11 MB / 0.6017 GB, free: 6.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006132/0.3577, allocations: 5.041 MB / 0.6067 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.3582, allocations: 22.31 kB / 0.6067 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.3589, allocations: 250.7 kB / 0.6069 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.3606, allocations: 0.7451 MB / 0.6077 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.3625, allocations: 0.7596 MB / 0.6084 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.3643, allocations: 1.954 MB / 0.6103 GB, free: 28 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005142/0.3648, allocations: 402.2 kB / 0.6107 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008025/0.3656, allocations: 0.5888 MB / 0.6113 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005123/0.3662, allocations: 467.1 kB / 0.6117 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.3662, allocations: 23.31 kB / 0.6117 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3677, allocations: 0.9541 MB / 0.6127 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3678, allocations: 119.9 kB / 0.6128 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.368, allocations: 142.3 kB / 0.6129 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008826/0.3689, allocations: 0.8246 MB / 0.6137 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3689, allocations: 1.344 kB / 0.6137 GB, free: 14 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3689, allocations: 3.984 kB / 0.6137 GB, free: 14 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3689, allocations: 4 kB / 0.6137 GB, free: 14 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.001324/0.3702, allocations: 0.9213 MB / 0.6146 GB, free: 13.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3703, allocations: 13.81 kB / 0.6146 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007545/0.371, allocations: 197.5 kB / 0.6148 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008904/0.3719, allocations: 0.5405 MB / 0.6154 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.3722, allocations: 95.69 kB / 0.6154 GB, free: 12.63 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.3723, allocations: 38.45 kB / 0.6155 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.3731, allocations: 0.5036 MB / 0.616 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3732, allocations: 0 / 0.616 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.3732, allocations: 16.47 kB / 0.616 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.3732, allocations: 13.25 kB / 0.616 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.3741, allocations: 427.1 kB / 0.6164 GB, free: 12.11 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.002539/0.3767, allocations: 2.296 MB / 0.6186 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.3776, allocations: 394.8 kB / 0.619 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.378, allocations: 237 kB / 0.6193 GB, free: 9.734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3783, allocations: 338.7 kB / 0.6196 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000555/0.3789, allocations: 314 kB / 0.6199 GB, free: 9.145 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.3789, allocations: 0 / 0.6199 GB, free: 9.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.00194/0.3808, allocations: 0.8791 MB / 0.6207 GB, free: 8.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.3809, allocations: 90.31 kB / 0.6208 GB, free: 8.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/0.3814, allocations: 490 kB / 0.6213 GB, free: 8.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.3814, allocations: 37.48 kB / 0.6213 GB, free: 8.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3816, allocations: 275.8 kB / 0.6216 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.3817, allocations: 108 kB / 0.6217 GB, free: 7.895 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.12e-05/0.3818, allocations: 6.031 kB / 0.6217 GB, free: 7.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3819, allocations: 363.8 kB / 0.622 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.3823, allocations: 184.3 kB / 0.6222 GB, free: 7.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.3828, allocations: 264 kB / 0.6225 GB, free: 7.281 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.3832, allocations: 231 kB / 0.6227 GB, free: 7.156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3833, allocations: 1.031 kB / 0.6227 GB, free: 7.156 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001239/0.3845, allocations: 0.6262 MB / 0.6233 GB, free: 6.773 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.305e-05/0.3846, allocations: 168.6 kB / 0.6235 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3846, allocations: 3.938 kB / 0.6235 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002891/0.3849, allocations: 72.8 kB / 0.6235 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.3852, allocations: 83.89 kB / 0.6236 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004134/0.3857, allocations: 0.603 MB / 0.6242 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.3861, allocations: 79.7 kB / 0.6243 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.3862, allocations: 15.98 kB / 0.6243 GB, free: 5.695 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.3862, allocations: 4 kB / 0.6243 GB, free: 5.691 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/0.3873, allocations: 0.5625 MB / 0.6248 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3873, allocations: 7.891 kB / 0.6249 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/0.3875, allocations: 57.05 kB / 0.6249 GB, free: 5.055 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.3878, allocations: 79.89 kB / 0.625 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3891, allocations: 1.615 MB / 0.6266 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.3895, allocations: 87.69 kB / 0.6266 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.3896, allocations: 12 kB / 0.6267 GB, free: 3.121 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 ($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.0002431/0.3898, allocations: 309.3 kB / 0.627 GB, free: 2.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.895e-05/0.3899, allocations: 55.34 kB / 0.627 GB, free: 2.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.3912, allocations: 0.661 MB / 0.6277 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3912, allocations: 4 kB / 0.6277 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.3912, allocations: 0 / 0.6277 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.3923, allocations: 0.8147 MB / 0.6285 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.3942, allocations: 1.327 MB / 0.6297 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3942, allocations: 0 / 0.6297 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.3945, allocations: 71.98 kB / 0.6298 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.3947, allocations: 48.75 kB / 0.6299 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.3947, allocations: 15.98 kB / 0.6299 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.395, allocations: 0.5757 MB / 0.6304 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/0.395, allocations: 4.031 kB / 0.6304 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.3966, allocations: 0.9999 MB / 0.6314 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.3968, allocations: 188.2 kB / 0.6316 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.3969, allocations: 11.95 kB / 0.6316 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004554/0.3974, allocations: 67.98 kB / 0.6317 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3974, allocations: 27.95 kB / 0.6317 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.3975, allocations: 19.98 kB / 0.6317 GB, free: 13.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003282/0.3978, allocations: 342.8 kB / 0.632 GB, free: 13.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3978, allocations: 0 / 0.632 GB, free: 13.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009232/0.3987, allocations: 335.5 kB / 0.6324 GB, free: 13.01 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 (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.0005023/0.3993, allocations: 294.5 kB / 0.6326 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.401, allocations: 0.9958 MB / 0.6336 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.401, allocations: 4.062 kB / 0.6336 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005409/0.4015, allocations: 335.3 kB / 0.6339 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4027, allocations: 245 kB / 0.6342 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.4045, allocations: 1.349 MB / 0.6355 GB, free: 9.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4049, allocations: 0.8823 MB / 0.6364 GB, free: 8.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.4053, allocations: 123.9 kB / 0.6365 GB, free: 8.699 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4054, allocations: 51.42 kB / 0.6365 GB, free: 8.648 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4054, allocations: 0 / 0.6365 GB, free: 8.648 MB / 478.1 MB Notification: Performance of Templates: time 0.01556/0.421, allocations: 10.68 MB / 0.647 GB, free: 14.14 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)