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.001698/0.001698, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 199.8 kB / 16.54 MB, free: 6.672 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9983/0.9983, allocations: 135.2 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 68.02 kB / 0.5054 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1766, allocations: 80.93 MB / 0.5844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.4812/0.6578, allocations: 161.5 MB / 0.7421 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.6611, allocations: 1.701 MB / 0.7438 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.6614, allocations: 14.91 kB / 0.7438 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.6621, allocations: 163.6 kB / 0.744 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.6635, allocations: 0.5064 MB / 0.7444 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.6646, allocations: 414.4 kB / 0.7448 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.6655, allocations: 0.5652 MB / 0.7454 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003161/0.6658, allocations: 189.6 kB / 0.7456 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.6664, allocations: 311.9 kB / 0.7459 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.6666, allocations: 157.1 kB / 0.746 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.6667, allocations: 13.88 kB / 0.746 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.6678, allocations: 0.6879 MB / 0.7467 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.6679, allocations: 82.16 kB / 0.7468 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.6681, allocations: 118 kB / 0.7469 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.6689, allocations: 0.4946 MB / 0.7474 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6689, allocations: 4 kB / 0.7474 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6689, allocations: 0 / 0.7474 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6689, allocations: 1.375 kB / 0.7474 GB, free: 4.164 MB / 0.5606 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.0008919/0.6698, allocations: 0.5817 MB / 0.748 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.6699, allocations: 9.562 kB / 0.748 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.6702, allocations: 52 kB / 0.748 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.6706, allocations: 291.3 kB / 0.7483 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.6706, allocations: 15.69 kB / 0.7483 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.6706, allocations: 18.38 kB / 0.7483 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.671, allocations: 188.5 kB / 0.7485 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.671, allocations: 0 / 0.7485 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.671, allocations: 6.844 kB / 0.7485 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.671, allocations: 1.781 kB / 0.7485 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.6713, allocations: 134.4 kB / 0.7486 GB, free: 3.105 MB / 0.5606 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.001076/0.6724, allocations: 0.7883 MB / 0.7494 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.6727, allocations: 81.34 kB / 0.7495 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.6728, allocations: 77.59 kB / 0.7496 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003235/0.6732, allocations: 187.1 kB / 0.7497 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.6732, allocations: 40.28 kB / 0.7498 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.6732, allocations: 0 / 0.7498 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006506/0.6739, allocations: 218.7 kB / 0.75 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.6739, allocations: 54.19 kB / 0.75 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.6742, allocations: 270.8 kB / 0.7503 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.6742, allocations: 29.7 kB / 0.7503 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.6743, allocations: 148.9 kB / 0.7505 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.6743, allocations: 32.61 kB / 0.7505 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.6744, allocations: 32.45 kB / 0.7505 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6745, allocations: 331.8 kB / 0.7508 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.6747, allocations: 45.55 kB / 0.7509 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.6748, allocations: 91.48 kB / 0.751 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.6751, allocations: 127.9 kB / 0.7511 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6751, allocations: 0 / 0.7511 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003445/0.6755, allocations: 161.2 kB / 0.7512 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6755, allocations: 5.594 kB / 0.7513 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6755, allocations: 6.438 kB / 0.7513 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.6755, allocations: 0 / 0.7513 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.6756, allocations: 25.95 kB / 0.7513 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6757, allocations: 0 / 0.7513 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6758, allocations: 22.55 kB / 0.7513 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.6759, allocations: 2.719 kB / 0.7513 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001911/0.6761, allocations: 151.5 kB / 0.7515 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001611/0.6762, allocations: 101.5 kB / 0.7516 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002347/0.6765, allocations: 116.9 kB / 0.7517 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.6765, allocations: 3.938 kB / 0.7517 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003065/0.6768, allocations: 153.8 kB / 0.7518 GB, free: 460 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.6768, allocations: 9.125 kB / 0.7518 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.6768, allocations: 0 / 0.7518 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.757e-06/0.6768, allocations: 7.062 kB / 0.7518 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.6769, allocations: 19.08 kB / 0.7518 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.677, allocations: 6.562 kB / 0.7519 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.6771, allocations: 27.91 kB / 0.7519 GB, free: 424 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.6772, allocations: 4.812 kB / 0.7519 GB, free: 424 kB / 0.5606 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.0001029/0.6773, allocations: 182.8 kB / 0.7521 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.6773, allocations: 29.28 kB / 0.7521 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.6777, allocations: 163.1 kB / 0.7522 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.6777, allocations: 0 / 0.7522 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6777, allocations: 3 kB / 0.7522 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6777, allocations: 0 / 0.7522 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.6786, allocations: 0.5826 MB / 0.7528 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6786, allocations: 2.938 kB / 0.7528 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.6788, allocations: 29.61 kB / 0.7528 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6788, allocations: 7.688 kB / 0.7529 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.6788, allocations: 1.375 kB / 0.7529 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6788, allocations: 2.875 kB / 0.7529 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.6788, allocations: 2.938 kB / 0.7529 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.6792, allocations: 299.6 kB / 0.7531 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6793, allocations: 115.8 kB / 0.7533 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.6793, allocations: 5.469 kB / 0.7533 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.6795, allocations: 12.52 kB / 0.7533 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.6796, allocations: 21.33 kB / 0.7533 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.6796, allocations: 4.938 kB / 0.7533 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000168/0.6798, allocations: 199 kB / 0.7535 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6798, allocations: 0 / 0.7535 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004574/0.6803, allocations: 94.84 kB / 0.7536 GB, free: 15.02 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.0003642/0.6806, allocations: 175.6 kB / 0.7537 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.6811, allocations: 173.6 kB / 0.7539 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6811, allocations: 1.562 kB / 0.7539 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6813, allocations: 58.06 kB / 0.754 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007606/0.682, allocations: 126.4 kB / 0.7541 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.6827, allocations: 437.3 kB / 0.7545 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.6831, allocations: 0.7597 MB / 0.7552 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.6833, allocations: 68.09 kB / 0.7553 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.6833, allocations: 19.44 kB / 0.7553 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.6834, allocations: 0 / 0.7553 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of Templates: time 0.008434/0.6918, allocations: 4.377 MB / 0.7596 GB, free: 9.086 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)