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: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_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.001435/0.001435, allocations: 108 kB / 15.61 MB, free: 152 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.001346/0.001346, allocations: 195 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7664/0.7664, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.5019 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3782, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1677/0.546, allocations: 161.5 MB / 0.7379 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003075/0.5491, allocations: 1.701 MB / 0.7396 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.5495, allocations: 19.88 kB / 0.7396 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.5502, allocations: 159 kB / 0.7397 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.5514, allocations: 0.5056 MB / 0.7402 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.5524, allocations: 419.2 kB / 0.7406 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.5532, allocations: 0.5693 MB / 0.7412 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.5535, allocations: 183.6 kB / 0.7414 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005853/0.5541, allocations: 322.8 kB / 0.7417 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.5543, allocations: 151.2 kB / 0.7418 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.5544, allocations: 16 kB / 0.7418 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.5554, allocations: 0.6898 MB / 0.7425 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.853e-05/0.5555, allocations: 75.8 kB / 0.7426 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.5556, allocations: 127.3 kB / 0.7427 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.5564, allocations: 0.4946 MB / 0.7432 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5564, allocations: 4 kB / 0.7432 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5564, allocations: 0 / 0.7432 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.5564, allocations: 0 / 0.7432 GB, free: 10.08 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.0008062/0.5572, allocations: 0.5723 MB / 0.7438 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.5573, allocations: 12.03 kB / 0.7438 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.5573, allocations: 46.55 kB / 0.7438 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.5577, allocations: 63.52 kB / 0.7439 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.558, allocations: 281.4 kB / 0.7441 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.558, allocations: 12 kB / 0.7441 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.5581, allocations: 16 kB / 0.7442 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.5584, allocations: 205.3 kB / 0.7444 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5584, allocations: 3.984 kB / 0.7444 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5585, allocations: 4 kB / 0.7444 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.5585, allocations: 4 kB / 0.7444 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.5588, allocations: 131.8 kB / 0.7445 GB, free: 8.637 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.0009535/0.5597, allocations: 0.777 MB / 0.7453 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.56, allocations: 86.47 kB / 0.7453 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.5602, allocations: 76.86 kB / 0.7454 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.5606, allocations: 186.2 kB / 0.7456 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5606, allocations: 42.48 kB / 0.7456 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.5606, allocations: 0 / 0.7456 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006424/0.5612, allocations: 217.2 kB / 0.7458 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5613, allocations: 55.41 kB / 0.7459 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.5615, allocations: 263 kB / 0.7461 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.5616, allocations: 29.7 kB / 0.7462 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.5617, allocations: 151.6 kB / 0.7463 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.5617, allocations: 31.55 kB / 0.7463 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.5618, allocations: 29.72 kB / 0.7464 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5619, allocations: 334.8 kB / 0.7467 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.562, allocations: 53.14 kB / 0.7467 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.5622, allocations: 93.03 kB / 0.7468 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5624, allocations: 127.3 kB / 0.747 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5624, allocations: 0 / 0.747 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000324/0.5627, allocations: 161.2 kB / 0.7471 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5628, allocations: 8 kB / 0.7471 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5628, allocations: 0 / 0.7471 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5628, allocations: 0 / 0.7471 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5629, allocations: 27.95 kB / 0.7471 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.5629, allocations: 4.062 kB / 0.7471 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.5631, allocations: 27.81 kB / 0.7472 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.5631, allocations: 8 kB / 0.7472 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001835/0.5633, allocations: 144.1 kB / 0.7473 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001413/0.5635, allocations: 93.11 kB / 0.7474 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002373/0.5637, allocations: 115.3 kB / 0.7475 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.5637, allocations: 4 kB / 0.7475 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003013/0.564, allocations: 157.3 kB / 0.7477 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.564, allocations: 17.91 kB / 0.7477 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.5641, allocations: 288 / 0.7477 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-06/0.5641, allocations: 3.938 kB / 0.7477 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.5642, allocations: 19.98 kB / 0.7477 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.5642, allocations: 4 kB / 0.7477 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.5643, allocations: 11.98 kB / 0.7477 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.5644, allocations: 7.984 kB / 0.7477 GB, free: 5.062 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 9.596e-05/0.5645, allocations: 188.3 kB / 0.7479 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.5645, allocations: 27.66 kB / 0.7479 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.5649, allocations: 159.3 kB / 0.7481 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5649, allocations: 0 / 0.7481 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5649, allocations: 8.453 kB / 0.7481 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5649, allocations: 0 / 0.7481 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.5657, allocations: 0.5898 MB / 0.7487 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5657, allocations: 0 / 0.7487 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.5658, allocations: 24.2 kB / 0.7487 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5658, allocations: 7.938 kB / 0.7487 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5658, allocations: 4 kB / 0.7487 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5658, allocations: 0 / 0.7487 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5658, allocations: 7.938 kB / 0.7487 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.5662, allocations: 301.1 kB / 0.749 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.482e-05/0.5663, allocations: 112.8 kB / 0.7491 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.5663, allocations: 3.984 kB / 0.7491 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.5665, allocations: 19.98 kB / 0.7491 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.5665, allocations: 11.94 kB / 0.7491 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5666, allocations: 7.984 kB / 0.7492 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001544/0.5667, allocations: 194 kB / 0.7493 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.302e-06/0.5667, allocations: 0 / 0.7493 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004274/0.5672, allocations: 99.78 kB / 0.7494 GB, free: 3.176 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.0008347/0.568, allocations: 0.8878 MB / 0.7503 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.5685, allocations: 171.7 kB / 0.7505 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5685, allocations: 4.188 kB / 0.7505 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.5686, allocations: 60.16 kB / 0.7505 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.5693, allocations: 116.1 kB / 0.7506 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.572, allocations: 2.343 MB / 0.7529 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.5723, allocations: 0.7636 MB / 0.7537 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.5725, allocations: 66.53 kB / 0.7537 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5727, allocations: 67.41 kB / 0.7538 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5727, allocations: 0 / 0.7538 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3995/0.9722, allocations: 6.829 MB / 0.7605 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.965/8.937, allocations: 4.266 kB / 0.7605 GB, free: 7.836 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)