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.0008696/0.0008695, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004984/0.004984, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.167/1.167, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6691/0.6691, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002689/0.0002689, allocations: 10.03 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3299, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1426/0.4725, allocations: 157.2 MB / 0.7373 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.4747, allocations: 1.694 MB / 0.7389 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.4748, allocations: 7.938 kB / 0.7389 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.4752, allocations: 135.2 kB / 0.7391 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.476, allocations: 494 kB / 0.7395 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.4768, allocations: 372.9 kB / 0.7399 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007199/0.4775, allocations: 0.7603 MB / 0.7406 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.4778, allocations: 148.4 kB / 0.7408 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.4782, allocations: 298.8 kB / 0.7411 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.4784, allocations: 155.2 kB / 0.7412 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.4784, allocations: 8 kB / 0.7412 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.4793, allocations: 0.7755 MB / 0.742 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.4794, allocations: 67.8 kB / 0.742 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4795, allocations: 141 kB / 0.7422 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.4801, allocations: 0.5141 MB / 0.7427 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4801, allocations: 0 / 0.7427 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4801, allocations: 0 / 0.7427 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4801, allocations: 4 kB / 0.7427 GB, free: 13.12 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.000649/0.4808, allocations: 0.5372 MB / 0.7432 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4808, allocations: 8.031 kB / 0.7432 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.4809, allocations: 50.55 kB / 0.7433 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.4812, allocations: 59.53 kB / 0.7433 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.4815, allocations: 281.4 kB / 0.7436 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4815, allocations: 16 kB / 0.7436 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.4815, allocations: 12 kB / 0.7436 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.4819, allocations: 204.1 kB / 0.7438 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.4819, allocations: 0 / 0.7438 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4819, allocations: 7.938 kB / 0.7438 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4819, allocations: 4 kB / 0.7438 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.4822, allocations: 143.8 kB / 0.7439 GB, free: 11.7 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.0008603/0.4831, allocations: 0.7926 MB / 0.7447 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.4833, allocations: 86.53 kB / 0.7448 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.4835, allocations: 80.88 kB / 0.7449 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.4837, allocations: 190.2 kB / 0.7451 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.4838, allocations: 42.44 kB / 0.7451 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.4838, allocations: 0 / 0.7451 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005963/0.4844, allocations: 229.2 kB / 0.7453 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.4844, allocations: 51.41 kB / 0.7454 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.4846, allocations: 271 kB / 0.7456 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4847, allocations: 25.7 kB / 0.7457 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.4847, allocations: 155.6 kB / 0.7458 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4848, allocations: 43.53 kB / 0.7458 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.4848, allocations: 13.72 kB / 0.7459 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.4849, allocations: 334.8 kB / 0.7462 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.485, allocations: 43.97 kB / 0.7462 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.4852, allocations: 101.1 kB / 0.7463 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.4855, allocations: 131.3 kB / 0.7464 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4855, allocations: 0 / 0.7464 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003347/0.4858, allocations: 177.1 kB / 0.7466 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.4859, allocations: 117.6 kB / 0.7467 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4859, allocations: 0 / 0.7467 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.4859, allocations: 4.547 kB / 0.7467 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.486, allocations: 27.98 kB / 0.7468 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.486, allocations: 3.984 kB / 0.7468 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.4862, allocations: 27.92 kB / 0.7468 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.4862, allocations: 4 kB / 0.7468 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.23e-06/0.4862, allocations: 4 kB / 0.7468 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002643/0.4865, allocations: 127.8 kB / 0.7469 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-06/0.4865, allocations: 0 / 0.7469 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.449e-06/0.4865, allocations: 7.938 kB / 0.7469 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.4866, allocations: 19.98 kB / 0.7469 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.4866, allocations: 4 kB / 0.7469 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.4868, allocations: 23.89 kB / 0.747 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4868, allocations: 8 kB / 0.747 GB, free: 8.367 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 0.000119/0.487, allocations: 217 kB / 0.7472 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.487, allocations: 23.72 kB / 0.7472 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.4873, allocations: 171.2 kB / 0.7474 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4874, allocations: 8 kB / 0.7474 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4874, allocations: 0 / 0.7474 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4874, allocations: 3.984 kB / 0.7474 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007552/0.4881, allocations: 0.5978 MB / 0.748 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4882, allocations: 4 kB / 0.748 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4883, allocations: 23.98 kB / 0.748 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4883, allocations: 4.219 kB / 0.748 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4883, allocations: 7.984 kB / 0.748 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4883, allocations: 7.938 kB / 0.748 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4883, allocations: 3.984 kB / 0.748 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.4886, allocations: 309.1 kB / 0.7483 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.094e-05/0.4887, allocations: 104.9 kB / 0.7484 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.4888, allocations: 16.05 kB / 0.7484 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.489, allocations: 23.89 kB / 0.7484 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.489, allocations: 15.86 kB / 0.7485 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.489, allocations: 4 kB / 0.7485 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001524/0.4892, allocations: 198 kB / 0.7486 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4892, allocations: 4 kB / 0.7487 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003927/0.4896, allocations: 91.84 kB / 0.7487 GB, free: 6.41 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.0007458/0.4903, allocations: 0.9023 MB / 0.7496 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.4908, allocations: 179.7 kB / 0.7498 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4908, allocations: 4.125 kB / 0.7498 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.4909, allocations: 63.91 kB / 0.7499 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.4917, allocations: 136.1 kB / 0.75 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.4942, allocations: 2.444 MB / 0.7524 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4944, allocations: 0.7521 MB / 0.7531 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.4946, allocations: 70.33 kB / 0.7532 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.4947, allocations: 71.34 kB / 0.7532 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of SimCode: time 2e-07/0.4947, allocations: 0 / 0.7532 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5603/1.055, allocations: 6.5 MB / 0.7596 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/1.055, allocations: 237.5 kB / 0.7598 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/2.865, allocations: 0 / 0.7598 GB, free: 11.05 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)