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.006127/0.006127, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00124/0.00124, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7936/0.7936, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 62.31 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1876, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.7095/0.8971, allocations: 161.5 MB / 0.8174 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.9006, allocations: 1.701 MB / 0.819 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.9011, allocations: 10.28 kB / 0.8191 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007183/0.9018, allocations: 166.4 kB / 0.8192 GB, free: 3.613 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.9036, allocations: 0.5296 MB / 0.8197 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.905, allocations: 431.8 kB / 0.8201 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009923/0.906, allocations: 0.5684 MB / 0.8207 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.9064, allocations: 177.4 kB / 0.8209 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.9074, allocations: 332.5 kB / 0.8212 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.9077, allocations: 149.7 kB / 0.8213 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.9078, allocations: 14.06 kB / 0.8213 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.9096, allocations: 0.7031 MB / 0.822 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.9098, allocations: 76.97 kB / 0.8221 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.9101, allocations: 116.7 kB / 0.8222 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.9113, allocations: 0.4998 MB / 0.8227 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.9113, allocations: 1.703 kB / 0.8227 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9113, allocations: 0.5 kB / 0.8227 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.9113, allocations: 0.5625 kB / 0.8227 GB, free: 3.523 MB / 0.6387 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.0009191/0.9122, allocations: 0.582 MB / 0.8233 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.9123, allocations: 10.5 kB / 0.8233 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.9127, allocations: 52.27 kB / 0.8233 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.9132, allocations: 305 kB / 0.8236 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.9132, allocations: 21.23 kB / 0.8236 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.9133, allocations: 13.66 kB / 0.8237 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.9137, allocations: 195.8 kB / 0.8238 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9137, allocations: 0 / 0.8238 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.9137, allocations: 6.047 kB / 0.8238 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9137, allocations: 4.125 kB / 0.8239 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.9141, allocations: 131.6 kB / 0.824 GB, free: 2.754 MB / 0.6387 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.001117/0.9152, allocations: 0.7843 MB / 0.8247 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.9155, allocations: 87.3 kB / 0.8248 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.9157, allocations: 72.66 kB / 0.8249 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002679/0.9159, allocations: 193.1 kB / 0.8251 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.916, allocations: 37.78 kB / 0.8251 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.916, allocations: 0 / 0.8251 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0007056/0.9167, allocations: 216.5 kB / 0.8253 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.9167, allocations: 54.44 kB / 0.8254 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.917, allocations: 275.9 kB / 0.8256 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.917, allocations: 31.2 kB / 0.8257 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.9171, allocations: 139.4 kB / 0.8258 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.9172, allocations: 35.09 kB / 0.8258 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.9173, allocations: 33.53 kB / 0.8259 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.9173, allocations: 334.7 kB / 0.8262 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.9175, allocations: 48.78 kB / 0.8262 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.9177, allocations: 96.97 kB / 0.8263 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.9179, allocations: 119.6 kB / 0.8264 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.9179, allocations: 1.094 kB / 0.8264 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003441/0.9183, allocations: 153.7 kB / 0.8266 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9183, allocations: 6.094 kB / 0.8266 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9183, allocations: 7.656 kB / 0.8266 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9183, allocations: 3.031 kB / 0.8266 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.9185, allocations: 20.33 kB / 0.8266 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.9185, allocations: 2.953 kB / 0.8266 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.9187, allocations: 26.64 kB / 0.8267 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.9187, allocations: 5.625 kB / 0.8267 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001857/0.9189, allocations: 145.7 kB / 0.8268 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000149/0.9191, allocations: 93.22 kB / 0.8269 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002287/0.9193, allocations: 121.4 kB / 0.827 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.9193, allocations: 1.031 kB / 0.827 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003138/0.9196, allocations: 158.9 kB / 0.8272 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.9196, allocations: 5.719 kB / 0.8272 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.9197, allocations: 2.5 kB / 0.8272 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-06/0.9197, allocations: 2.188 kB / 0.8272 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.9198, allocations: 21.73 kB / 0.8272 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.9198, allocations: 2.359 kB / 0.8272 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.9199, allocations: 21.72 kB / 0.8272 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.92, allocations: 10.03 kB / 0.8272 GB, free: 0.9453 MB / 0.6387 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.0002333/0.9202, allocations: 189 kB / 0.8274 GB, free: 16.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.9203, allocations: 23.7 kB / 0.8274 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.9207, allocations: 162.8 kB / 0.8276 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9207, allocations: 2 kB / 0.8276 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9207, allocations: 1.688 kB / 0.8276 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9207, allocations: 4.594 kB / 0.8276 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.9216, allocations: 0.5936 MB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9216, allocations: 3.297 kB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.9217, allocations: 26.38 kB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.9218, allocations: 2.906 kB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.9218, allocations: 3.016 kB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.9218, allocations: 3.562 kB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.9218, allocations: 3.234 kB / 0.8282 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.9222, allocations: 301.7 kB / 0.8285 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.9223, allocations: 109.6 kB / 0.8286 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.9223, allocations: 4.703 kB / 0.8286 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.9225, allocations: 16.72 kB / 0.8286 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.9226, allocations: 12.27 kB / 0.8286 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.9226, allocations: 10.06 kB / 0.8286 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001959/0.9228, allocations: 199.7 kB / 0.8288 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9228, allocations: 0 / 0.8288 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005042/0.9233, allocations: 95.8 kB / 0.8289 GB, free: 15.95 MB / 0.6544 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.0004207/0.9237, allocations: 164.1 kB / 0.8291 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.9242, allocations: 168.9 kB / 0.8292 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9242, allocations: 1.031 kB / 0.8292 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.9244, allocations: 63.12 kB / 0.8293 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007072/0.9251, allocations: 118.3 kB / 0.8294 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.9258, allocations: 436 kB / 0.8298 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.9262, allocations: 0.7594 MB / 0.8306 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.9265, allocations: 74.23 kB / 0.8306 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.9265, allocations: 21.12 kB / 0.8307 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.9265, allocations: 0.875 kB / 0.8307 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.01054/0.9371, allocations: 4.398 MB / 0.835 GB, free: 14.74 MB / 0.6544 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)