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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001787/0.001787, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9014/0.9014, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.72 kB / 0.5049 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1493, allocations: 80.93 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.395/0.5443, allocations: 159.3 MB / 0.7395 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.5472, allocations: 1.69 MB / 0.7412 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.5477, allocations: 13.25 kB / 0.7412 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.5483, allocations: 136.1 kB / 0.7413 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.5497, allocations: 491.4 kB / 0.7418 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.5509, allocations: 395.9 kB / 0.7422 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008146/0.5517, allocations: 0.5605 MB / 0.7427 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003306/0.552, allocations: 169.3 kB / 0.7429 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006602/0.5527, allocations: 321.6 kB / 0.7432 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.553, allocations: 163.4 kB / 0.7434 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.553, allocations: 13.62 kB / 0.7434 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.5541, allocations: 0.7151 MB / 0.7441 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.5542, allocations: 78.89 kB / 0.7441 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.5544, allocations: 119.2 kB / 0.7443 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008108/0.5552, allocations: 0.5224 MB / 0.7448 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5552, allocations: 0 / 0.7448 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5552, allocations: 0 / 0.7448 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.5552, allocations: 1.094 kB / 0.7448 GB, free: 6.617 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.0008822/0.5561, allocations: 0.5891 MB / 0.7453 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5561, allocations: 9.688 kB / 0.7453 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.5562, allocations: 51.83 kB / 0.7454 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003581/0.5566, allocations: 55.77 kB / 0.7455 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.557, allocations: 285.4 kB / 0.7457 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.557, allocations: 13.12 kB / 0.7457 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.557, allocations: 14.09 kB / 0.7458 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.5574, allocations: 186.1 kB / 0.7459 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5574, allocations: 4 kB / 0.7459 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.5574, allocations: 4 kB / 0.7459 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5575, allocations: 5.281 kB / 0.7459 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.5577, allocations: 134.3 kB / 0.7461 GB, free: 5.508 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.0009895/0.5587, allocations: 0.7807 MB / 0.7468 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.559, allocations: 90.12 kB / 0.7469 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.5592, allocations: 77.25 kB / 0.747 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/0.5595, allocations: 182.8 kB / 0.7472 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.5595, allocations: 40.72 kB / 0.7472 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.5595, allocations: 3.938 kB / 0.7472 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006454/0.5602, allocations: 222.7 kB / 0.7474 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5602, allocations: 53.88 kB / 0.7475 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.5605, allocations: 266 kB / 0.7477 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.5605, allocations: 32.3 kB / 0.7478 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.5606, allocations: 147.1 kB / 0.7479 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.5607, allocations: 36.58 kB / 0.7479 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.5607, allocations: 29.03 kB / 0.748 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5608, allocations: 331.2 kB / 0.7483 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.561, allocations: 45.8 kB / 0.7483 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.5611, allocations: 95.42 kB / 0.7484 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.5614, allocations: 119.4 kB / 0.7485 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5614, allocations: 0 / 0.7485 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003299/0.5617, allocations: 163.3 kB / 0.7487 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5618, allocations: 13.28 kB / 0.7487 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5618, allocations: 0 / 0.7487 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5618, allocations: 2.688 kB / 0.7487 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5619, allocations: 19.98 kB / 0.7487 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5619, allocations: 2.656 kB / 0.7487 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.5621, allocations: 20.58 kB / 0.7487 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.5621, allocations: 9.328 kB / 0.7487 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001848/0.5623, allocations: 149.9 kB / 0.7489 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000151/0.5625, allocations: 90.3 kB / 0.749 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000226/0.5627, allocations: 127.4 kB / 0.7491 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.5627, allocations: 0 / 0.7491 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003023/0.563, allocations: 149.5 kB / 0.7492 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.5631, allocations: 8.922 kB / 0.7492 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-06/0.5631, allocations: 0 / 0.7492 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.5631, allocations: 7 kB / 0.7493 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5632, allocations: 19.95 kB / 0.7493 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.5632, allocations: 2.875 kB / 0.7493 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.5634, allocations: 27.95 kB / 0.7493 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5634, allocations: 9.406 kB / 0.7493 GB, free: 2.82 MB / 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 9.848e-05/0.5635, allocations: 184 kB / 0.7495 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.5636, allocations: 28.41 kB / 0.7495 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.5639, allocations: 167.7 kB / 0.7497 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5639, allocations: 4 kB / 0.7497 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.564, allocations: 96 / 0.7497 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.564, allocations: 10.14 kB / 0.7497 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/0.5648, allocations: 0.5834 MB / 0.7503 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5648, allocations: 2.5 kB / 0.7503 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5649, allocations: 30.02 kB / 0.7503 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5649, allocations: 2.812 kB / 0.7503 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.5649, allocations: 2.562 kB / 0.7503 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5649, allocations: 2.75 kB / 0.7503 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.565, allocations: 2.656 kB / 0.7503 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.5653, allocations: 299.8 kB / 0.7506 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.5654, allocations: 117.7 kB / 0.7507 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.5655, allocations: 7.203 kB / 0.7507 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.5657, allocations: 11.42 kB / 0.7507 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.5657, allocations: 21.52 kB / 0.7507 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5657, allocations: 9.078 kB / 0.7507 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001644/0.5659, allocations: 198.1 kB / 0.7509 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5659, allocations: 0 / 0.7509 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004667/0.5664, allocations: 94.66 kB / 0.751 GB, free: 1.414 MB / 0.5606 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.0008853/0.5673, allocations: 0.8815 MB / 0.7519 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004475/0.5677, allocations: 175.4 kB / 0.752 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5678, allocations: 0 / 0.752 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.5679, allocations: 61.62 kB / 0.7521 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.5686, allocations: 114.8 kB / 0.7522 GB, free: 448 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.5714, allocations: 2.417 MB / 0.7546 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5717, allocations: 0.7558 MB / 0.7553 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.572, allocations: 74.69 kB / 0.7554 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.5721, allocations: 71.41 kB / 0.7555 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5721, allocations: 0 / 0.7555 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5258/1.098, allocations: 6.689 MB / 0.762 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/1.098, allocations: 233.2 kB / 0.7622 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.308, allocations: 8 kB / 0.7622 GB, free: 6.258 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)