Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110.9 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.001424/0.001424, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.455/1.455, 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.8269/0.8269, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.88 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3744, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1686/0.5431, allocations: 161.5 MB / 0.7392 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003/0.5461, allocations: 1.714 MB / 0.7409 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.5465, allocations: 15.88 kB / 0.7409 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.5471, allocations: 159 kB / 0.7411 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.5484, allocations: 0.5094 MB / 0.7416 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.5495, allocations: 427.5 kB / 0.742 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007117/0.5502, allocations: 0.5576 MB / 0.7425 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000297/0.5505, allocations: 184.4 kB / 0.7427 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.5511, allocations: 318.8 kB / 0.743 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.5514, allocations: 155.2 kB / 0.7431 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.5514, allocations: 16 kB / 0.7432 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.5527, allocations: 0.6898 MB / 0.7438 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.5529, allocations: 79.78 kB / 0.7439 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.5531, allocations: 123.3 kB / 0.744 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.5538, allocations: 0.4907 MB / 0.7445 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.5538, allocations: 4 kB / 0.7445 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5538, allocations: 0 / 0.7445 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.5538, allocations: 0 / 0.7445 GB, free: 6.742 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008182/0.5547, allocations: 0.5916 MB / 0.7451 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5547, allocations: 12.03 kB / 0.7451 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.5551, allocations: 55.62 kB / 0.7451 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.5555, allocations: 293.3 kB / 0.7454 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.5555, allocations: 16 kB / 0.7454 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.5556, allocations: 12 kB / 0.7455 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.5559, allocations: 193.5 kB / 0.7456 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5559, allocations: 0 / 0.7456 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.556, allocations: 11.94 kB / 0.7456 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.556, allocations: 0 / 0.7456 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.5563, allocations: 135.8 kB / 0.7458 GB, free: 5.336 MB / 0.5762 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.001005/0.5573, allocations: 0.7769 MB / 0.7465 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.5575, allocations: 86.53 kB / 0.7466 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.5577, allocations: 72.88 kB / 0.7467 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.558, allocations: 186.2 kB / 0.7469 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.558, allocations: 42.5 kB / 0.7469 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.558, allocations: 3.938 kB / 0.7469 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006304/0.5587, allocations: 213.3 kB / 0.7471 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.5587, allocations: 59.28 kB / 0.7472 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.559, allocations: 271 kB / 0.7474 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.559, allocations: 33.7 kB / 0.7475 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.5591, allocations: 147.9 kB / 0.7476 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.5591, allocations: 31.55 kB / 0.7476 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.5592, allocations: 33.7 kB / 0.7477 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5593, allocations: 330.8 kB / 0.748 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.5594, allocations: 44.83 kB / 0.748 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.5596, allocations: 93.11 kB / 0.7481 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.5598, allocations: 123.3 kB / 0.7482 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5598, allocations: 0 / 0.7482 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003051/0.5602, allocations: 161.2 kB / 0.7484 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5602, allocations: 7.938 kB / 0.7484 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5602, allocations: 4 kB / 0.7484 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5602, allocations: 0 / 0.7484 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.5603, allocations: 24.55 kB / 0.7484 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.5604, allocations: 4 kB / 0.7484 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.5605, allocations: 19.83 kB / 0.7484 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.5606, allocations: 8.031 kB / 0.7484 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001739/0.5608, allocations: 148.1 kB / 0.7486 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001439/0.5609, allocations: 96.98 kB / 0.7487 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000217/0.5611, allocations: 119.5 kB / 0.7488 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.5611, allocations: 7.938 kB / 0.7488 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002956/0.5614, allocations: 149.3 kB / 0.7489 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.5615, allocations: 8 kB / 0.749 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.5615, allocations: 3.938 kB / 0.749 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-06/0.5615, allocations: 0 / 0.749 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5616, allocations: 24.11 kB / 0.749 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5616, allocations: 12.02 kB / 0.749 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.5618, allocations: 15.98 kB / 0.749 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.5618, allocations: 4 kB / 0.749 GB, free: 1.758 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.5619, allocations: 188.2 kB / 0.7492 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.562, allocations: 27.66 kB / 0.7492 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003588/0.5623, allocations: 163.3 kB / 0.7494 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5623, allocations: 0 / 0.7494 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5623, allocations: 3.938 kB / 0.7494 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5624, allocations: 4 kB / 0.7494 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008348/0.5632, allocations: 0.586 MB / 0.75 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5632, allocations: 0 / 0.75 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.5633, allocations: 23.92 kB / 0.75 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5633, allocations: 4 kB / 0.75 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5633, allocations: 4 kB / 0.75 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5633, allocations: 0 / 0.75 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5634, allocations: 4 kB / 0.75 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.5637, allocations: 301.3 kB / 0.7503 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5638, allocations: 117.1 kB / 0.7504 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.5639, allocations: 0 / 0.7504 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5641, allocations: 11.98 kB / 0.7504 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.5641, allocations: 23.86 kB / 0.7504 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5641, allocations: 7.938 kB / 0.7504 GB, free: 164 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.3413/0.9054, allocations: 196.3 kB / 0.7506 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.62e-07/0.9055, allocations: 0 / 0.7506 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007435/0.9062, allocations: 92.53 kB / 0.7507 GB, free: 168.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000454/0.9067, allocations: 160.5 kB / 0.7509 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000606/0.9073, allocations: 170.7 kB / 0.751 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9073, allocations: 0.7812 kB / 0.751 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.9075, allocations: 60.78 kB / 0.7511 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.9083, allocations: 125.5 kB / 0.7512 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008361/0.9091, allocations: 435.6 kB / 0.7516 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.9094, allocations: 0.762 MB / 0.7524 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.9097, allocations: 66.56 kB / 0.7524 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.9098, allocations: 21.36 kB / 0.7524 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.9098, allocations: 0 / 0.7524 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.01106/0.9208, allocations: 4.384 MB / 0.7567 GB, free: 166.1 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)