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.001104/0.001107, 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.001128/0.001129, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.135/1.135, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6543/0.6543, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 68.69 kB / 0.5014 GB, free: 4.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2943, allocations: 80.19 MB / 0.5797 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1409/0.4353, allocations: 159.3 MB / 0.7352 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.4377, allocations: 1.697 MB / 0.7369 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.438, allocations: 11.94 kB / 0.7369 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.4385, allocations: 139.2 kB / 0.7371 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.4396, allocations: 486.1 kB / 0.7375 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.4406, allocations: 389.3 kB / 0.7379 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000669/0.4412, allocations: 0.5692 MB / 0.7384 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.4415, allocations: 176.4 kB / 0.7386 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.4421, allocations: 310.8 kB / 0.7389 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.4423, allocations: 171.2 kB / 0.7391 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.4423, allocations: 16 kB / 0.7391 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.4432, allocations: 0.7092 MB / 0.7398 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.4432, allocations: 79.78 kB / 0.7399 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.4433, allocations: 119.3 kB / 0.74 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.4439, allocations: 0.5219 MB / 0.7405 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4439, allocations: 0 / 0.7405 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.011e-06/0.4439, allocations: 0 / 0.7405 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.4439, allocations: 0 / 0.7405 GB, free: 12.31 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.000642/0.4446, allocations: 0.5839 MB / 0.741 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4446, allocations: 12.03 kB / 0.7411 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.4447, allocations: 46.55 kB / 0.7411 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002764/0.445, allocations: 59.52 kB / 0.7412 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.4452, allocations: 285.4 kB / 0.7414 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4452, allocations: 8 kB / 0.7414 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.4453, allocations: 16 kB / 0.7415 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.4456, allocations: 196.1 kB / 0.7416 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.4456, allocations: 3.938 kB / 0.7416 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4456, allocations: 7.938 kB / 0.7417 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4456, allocations: 4 kB / 0.7417 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.4459, allocations: 139.8 kB / 0.7418 GB, free: 10.85 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.0007922/0.4467, allocations: 0.777 MB / 0.7425 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.4469, allocations: 82.53 kB / 0.7426 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.4471, allocations: 76.88 kB / 0.7427 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.4474, allocations: 182.2 kB / 0.7429 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4474, allocations: 42.5 kB / 0.7429 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 4.309e-06/0.4474, allocations: 4 kB / 0.7429 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005797/0.448, allocations: 217.2 kB / 0.7431 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.448, allocations: 55.34 kB / 0.7432 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.4482, allocations: 271 kB / 0.7434 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4483, allocations: 29.7 kB / 0.7435 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.4483, allocations: 155.6 kB / 0.7436 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.4484, allocations: 31.55 kB / 0.7436 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.4484, allocations: 29.72 kB / 0.7437 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/0.4485, allocations: 330.8 kB / 0.744 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4486, allocations: 40.83 kB / 0.744 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.4488, allocations: 101.1 kB / 0.7441 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.449, allocations: 119.3 kB / 0.7442 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.449, allocations: 0 / 0.7442 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002898/0.4493, allocations: 169.2 kB / 0.7444 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4493, allocations: 4 kB / 0.7444 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4493, allocations: 4 kB / 0.7444 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.4494, allocations: 0.5625 kB / 0.7444 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4495, allocations: 23.98 kB / 0.7444 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4495, allocations: 4 kB / 0.7444 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.4496, allocations: 19.83 kB / 0.7445 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.4497, allocations: 7.984 kB / 0.7445 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001621/0.4498, allocations: 152.1 kB / 0.7446 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001332/0.45, allocations: 92.98 kB / 0.7447 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002039/0.4502, allocations: 123.5 kB / 0.7448 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.4502, allocations: 0 / 0.7448 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000271/0.4505, allocations: 161.2 kB / 0.745 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.4505, allocations: 9.812 kB / 0.745 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.4505, allocations: 0 / 0.745 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-06/0.4505, allocations: 7.938 kB / 0.745 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.716e-05/0.4506, allocations: 19.98 kB / 0.745 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-06/0.4506, allocations: 4.031 kB / 0.745 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.4508, allocations: 15.98 kB / 0.745 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.4508, allocations: 8 kB / 0.745 GB, free: 7.273 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 7.636e-05/0.4509, allocations: 188.2 kB / 0.7452 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.4509, allocations: 23.66 kB / 0.7452 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.4512, allocations: 167.3 kB / 0.7454 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4513, allocations: 0 / 0.7454 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4513, allocations: 3.984 kB / 0.7454 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4513, allocations: 0 / 0.7454 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.452, allocations: 0.5898 MB / 0.746 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.452, allocations: 4 kB / 0.746 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.4521, allocations: 23.92 kB / 0.746 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4521, allocations: 4 kB / 0.746 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4521, allocations: 0 / 0.746 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4521, allocations: 4 kB / 0.746 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4521, allocations: 352 / 0.746 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.4525, allocations: 301.4 kB / 0.7463 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.4525, allocations: 116.8 kB / 0.7464 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.4526, allocations: 7.984 kB / 0.7464 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4528, allocations: 12.08 kB / 0.7464 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.4528, allocations: 23.8 kB / 0.7464 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4528, allocations: 12 kB / 0.7465 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001426/0.453, allocations: 194 kB / 0.7466 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.453, allocations: 0 / 0.7466 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003791/0.4534, allocations: 91.84 kB / 0.7467 GB, free: 5.391 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.0007111/0.4541, allocations: 0.8854 MB / 0.7476 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.4545, allocations: 171.8 kB / 0.7478 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4545, allocations: 0 / 0.7478 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4546, allocations: 67.83 kB / 0.7478 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.4552, allocations: 117.3 kB / 0.7479 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4575, allocations: 2.394 MB / 0.7503 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.4577, allocations: 0.7635 MB / 0.751 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001828/0.4579, allocations: 69.88 kB / 0.7511 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.458, allocations: 75.34 kB / 0.7512 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.458, allocations: 0 / 0.7512 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.269/1.727, allocations: 6.684 MB / 0.7577 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.728, allocations: 231.9 kB / 0.7579 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.918, allocations: 0 / 0.7579 GB, free: 9.922 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)