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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7477/0.7477, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 108.4 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.594e-05, allocations: 3.281 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1642, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.736/4.9, allocations: 1.831 GB / 2.471 GB, free: 65.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/4.9, allocations: 86.5 kB / 2.471 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9435/5.844, allocations: 222.2 MB / 2.688 GB, free: 122 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/5.844, allocations: 0 / 2.688 GB, free: 122 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.546e-05/5.844, allocations: 8 kB / 2.688 GB, free: 122 MB / 0.6823 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.001224/5.845, allocations: 0.5686 MB / 2.689 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/5.845, allocations: 8.031 kB / 2.689 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.284e-05/5.845, allocations: 46.55 kB / 2.689 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/5.846, allocations: 49.41 kB / 2.689 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/5.846, allocations: 317.4 kB / 2.689 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/5.846, allocations: 15.95 kB / 2.689 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/5.846, allocations: 16 kB / 2.689 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/5.847, allocations: 165.1 kB / 2.689 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/5.847, allocations: 7.938 kB / 2.689 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/5.847, allocations: 4 kB / 2.689 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/5.847, allocations: 4 kB / 2.69 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/5.847, allocations: 95.91 kB / 2.69 GB, free: 120.6 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001034/5.848, allocations: 0.7927 MB / 2.69 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/5.848, allocations: 62.56 kB / 2.69 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/5.848, allocations: 57.08 kB / 2.69 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/5.848, allocations: 190.1 kB / 2.691 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/5.848, allocations: 30.56 kB / 2.691 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/5.848, allocations: 7.938 kB / 2.691 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005026/5.849, allocations: 141.3 kB / 2.691 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/5.849, allocations: 55.41 kB / 2.691 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/5.849, allocations: 231.5 kB / 2.691 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/5.849, allocations: 29.7 kB / 2.691 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/5.849, allocations: 147.9 kB / 2.691 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/5.849, allocations: 39.45 kB / 2.691 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/5.849, allocations: 8 kB / 2.691 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/5.85, allocations: 330.8 kB / 2.692 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/5.85, allocations: 24 kB / 2.692 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/5.85, allocations: 82.84 kB / 2.692 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/5.85, allocations: 51.91 kB / 2.692 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/5.85, allocations: 3.953 kB / 2.692 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002777/5.85, allocations: 125.4 kB / 2.692 GB, free: 118 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/5.85, allocations: 360.8 kB / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/5.85, allocations: 4 kB / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/5.85, allocations: 0 / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/5.851, allocations: 31.92 kB / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/5.851, allocations: 0 / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/5.851, allocations: 39.81 kB / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/5.851, allocations: 4 kB / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/5.851, allocations: 4 kB / 2.692 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002095/5.851, allocations: 79.89 kB / 2.692 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/5.851, allocations: 0 / 2.692 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/5.851, allocations: 0 / 2.692 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/5.851, allocations: 27.92 kB / 2.692 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/5.851, allocations: 0 / 2.692 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/5.852, allocations: 31.92 kB / 2.692 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/5.852, allocations: 7.984 kB / 2.692 GB, free: 117.4 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/5.852, allocations: 112.9 kB / 2.693 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/5.852, allocations: 24 kB / 2.693 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/5.852, allocations: 135.4 kB / 2.693 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/5.852, allocations: 0 / 2.693 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/5.852, allocations: 4 kB / 2.693 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/5.852, allocations: 3.984 kB / 2.693 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008807/5.853, allocations: 0.559 MB / 2.693 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/5.853, allocations: 4 kB / 2.693 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/5.853, allocations: 23.98 kB / 2.693 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/5.853, allocations: 0 / 2.693 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/5.853, allocations: 12.03 kB / 2.693 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/5.853, allocations: 11.89 kB / 2.693 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/5.853, allocations: 4.062 kB / 2.693 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/5.854, allocations: 353.2 kB / 2.694 GB, free: 116 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/5.854, allocations: 108.8 kB / 2.694 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/5.854, allocations: 7.938 kB / 2.694 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/5.854, allocations: 19.98 kB / 2.694 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/5.854, allocations: 15.98 kB / 2.694 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/5.854, allocations: 4 kB / 2.694 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002139/5.854, allocations: 191.1 kB / 2.694 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/5.854, allocations: 0 / 2.694 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001126/5.856, allocations: 175.8 kB / 2.694 GB, free: 115.5 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002306/5.858, allocations: 2.157 MB / 2.696 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003356/5.858, allocations: 134 kB / 2.696 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.858, allocations: 4.125 kB / 2.696 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/5.858, allocations: 51.86 kB / 2.696 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/5.859, allocations: 126.3 kB / 2.697 GB, free: 113 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009567/5.86, allocations: 390.8 kB / 2.697 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/5.861, allocations: 0.7648 MB / 2.698 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004029/5.861, allocations: 94.42 kB / 2.698 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/5.861, allocations: 63.36 kB / 2.698 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/5.861, allocations: 0 / 2.698 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/5.906, allocations: 23.1 MB / 2.72 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/5.906, allocations: 188.8 kB / 2.721 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.618/8.525, allocations: 0 / 2.721 GB, free: 88.38 MB / 0.6823 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/linux/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)