Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001178/0.001178, allocations: 112.6 kB / 16.37 MB, free: 6 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.001155/0.001155, allocations: 196 kB / 17.31 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.228/1.228, 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-master/package.mo): time 0.7372/0.7372, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 0.5067 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2996, allocations: 80.9 MB / 0.5858 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1455/0.4451, allocations: 161.5 MB / 0.7435 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.4478, allocations: 1.7 MB / 0.7452 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.448, allocations: 11.94 kB / 0.7452 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.4485, allocations: 158.9 kB / 0.7453 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.4495, allocations: 0.5056 MB / 0.7458 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.4505, allocations: 426.9 kB / 0.7462 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.4511, allocations: 0.5722 MB / 0.7468 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.4514, allocations: 176.5 kB / 0.7469 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.4519, allocations: 322.7 kB / 0.7473 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.4521, allocations: 151.3 kB / 0.7474 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.4521, allocations: 12 kB / 0.7474 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009101/0.453, allocations: 0.7015 MB / 0.7481 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.4531, allocations: 71.78 kB / 0.7482 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.4532, allocations: 119.3 kB / 0.7483 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.4539, allocations: 0.4984 MB / 0.7488 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4539, allocations: 3.984 kB / 0.7488 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4539, allocations: 0 / 0.7488 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4539, allocations: 4 kB / 0.7488 GB, free: 3.109 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.0007264/0.4546, allocations: 0.5858 MB / 0.7493 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.4547, allocations: 9.109 kB / 0.7494 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.455, allocations: 59.53 kB / 0.7494 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.4554, allocations: 297.3 kB / 0.7497 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4554, allocations: 12 kB / 0.7497 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.4555, allocations: 16 kB / 0.7497 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.4558, allocations: 197.4 kB / 0.7499 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4558, allocations: 0 / 0.7499 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4558, allocations: 12 kB / 0.7499 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4559, allocations: 7.984 kB / 0.7499 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.4561, allocations: 128.7 kB / 0.75 GB, free: 1.699 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.0009387/0.4571, allocations: 0.777 MB / 0.7508 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4573, allocations: 86.47 kB / 0.7509 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.4575, allocations: 84.8 kB / 0.751 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.4578, allocations: 190.2 kB / 0.7512 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4578, allocations: 34.5 kB / 0.7512 GB, free: 416 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.4578, allocations: 0 / 0.7512 GB, free: 416 kB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006019/0.4584, allocations: 217.2 kB / 0.7514 GB, free: 192 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4585, allocations: 59.41 kB / 0.7515 GB, free: 120 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2368/0.6953, allocations: 266.1 kB / 0.7517 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.6953, allocations: 27.02 kB / 0.7517 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.6954, allocations: 148.1 kB / 0.7519 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.6955, allocations: 31.3 kB / 0.7519 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.6955, allocations: 29.23 kB / 0.7519 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.6956, allocations: 333.8 kB / 0.7522 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.6957, allocations: 49.39 kB / 0.7523 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.6959, allocations: 92.8 kB / 0.7524 GB, free: 167 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.6962, allocations: 121.8 kB / 0.7525 GB, free: 167 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6962, allocations: 0 / 0.7525 GB, free: 167 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003348/0.6965, allocations: 161.6 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6966, allocations: 8.094 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6966, allocations: 1.438 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6966, allocations: 5.234 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6967, allocations: 21.14 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.6967, allocations: 2.297 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.6969, allocations: 22.06 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.6969, allocations: 5.719 kB / 0.7527 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001732/0.6971, allocations: 146.2 kB / 0.7529 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001421/0.6973, allocations: 94.8 kB / 0.7529 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002236/0.6975, allocations: 119.3 kB / 0.7531 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.6975, allocations: 1.109 kB / 0.7531 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002922/0.6978, allocations: 162.2 kB / 0.7532 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.6978, allocations: 5.906 kB / 0.7532 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-06/0.6978, allocations: 0.7188 kB / 0.7532 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/0.6978, allocations: 4.297 kB / 0.7532 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.698, allocations: 25.2 kB / 0.7532 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.698, allocations: 4.5 kB / 0.7533 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.6981, allocations: 17.22 kB / 0.7533 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.6981, allocations: 9.031 kB / 0.7533 GB, free: 166.6 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 6.053e-05/0.6982, allocations: 187.5 kB / 0.7535 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.6983, allocations: 23.56 kB / 0.7535 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.6986, allocations: 161 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6986, allocations: 1.562 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6986, allocations: 6.094 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6986, allocations: 2.25 kB / 0.7536 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.6995, allocations: 0.5916 MB / 0.7542 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6995, allocations: 3.781 kB / 0.7542 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.6996, allocations: 29.36 kB / 0.7543 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.6996, allocations: 2.688 kB / 0.7543 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6996, allocations: 7.156 kB / 0.7543 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6996, allocations: 4.375 kB / 0.7543 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6996, allocations: 2.281 kB / 0.7543 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.7, allocations: 294 kB / 0.7545 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.7001, allocations: 112.6 kB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.7001, allocations: 13.95 kB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.7003, allocations: 10.98 kB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.7003, allocations: 12.44 kB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.7004, allocations: 10.92 kB / 0.7547 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001667/0.7005, allocations: 196.2 kB / 0.7549 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7005, allocations: 1.484 kB / 0.7549 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004589/0.701, allocations: 91.02 kB / 0.755 GB, free: 165.4 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.0003347/0.7013, allocations: 173.5 kB / 0.7551 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004454/0.7018, allocations: 165.7 kB / 0.7553 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7018, allocations: 0.8125 kB / 0.7553 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.702, allocations: 63.3 kB / 0.7554 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006876/0.7027, allocations: 118 kB / 0.7555 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007783/0.7034, allocations: 431.1 kB / 0.7559 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.7037, allocations: 0.7558 MB / 0.7566 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.704, allocations: 69.22 kB / 0.7567 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.704, allocations: 20.53 kB / 0.7567 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.704, allocations: 2.344 kB / 0.7567 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.009561/0.7136, allocations: 4.378 MB / 0.761 GB, free: 162.5 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)