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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 175.2 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.9036/0.9036, 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.461/1.461, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.0009311/0.0009311, allocations: 92.2 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.849e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.797/4.965, allocations: 1.831 GB / 2.471 GB, free: 64.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/4.965, allocations: 80.27 kB / 2.471 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9063/5.872, allocations: 222.2 MB / 2.688 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.383e-06/5.872, allocations: 0 / 2.688 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.364e-05/5.872, allocations: 11.94 kB / 2.688 GB, free: 121.6 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.001006/5.873, allocations: 0.5686 MB / 2.689 GB, free: 121 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/5.873, allocations: 8.031 kB / 2.689 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.292e-05/5.873, allocations: 50.55 kB / 2.689 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/5.873, allocations: 49.41 kB / 2.689 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/5.874, allocations: 313.4 kB / 2.689 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/5.874, allocations: 15.95 kB / 2.689 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/5.874, allocations: 16 kB / 2.689 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/5.874, allocations: 168.2 kB / 2.689 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/5.874, allocations: 3.938 kB / 2.689 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/5.874, allocations: 4 kB / 2.689 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/5.874, allocations: 4 kB / 2.689 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/5.874, allocations: 91.97 kB / 2.69 GB, free: 120.2 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.0009637/5.875, allocations: 0.8052 MB / 2.69 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/5.875, allocations: 58.56 kB / 2.69 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/5.876, allocations: 61.08 kB / 2.69 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/5.876, allocations: 186.1 kB / 2.691 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/5.876, allocations: 38.56 kB / 2.691 GB, free: 119 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/5.876, allocations: 0 / 2.691 GB, free: 119 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004249/5.876, allocations: 141.3 kB / 2.691 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/5.876, allocations: 51.41 kB / 2.691 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/5.877, allocations: 231.5 kB / 2.691 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/5.877, allocations: 33.7 kB / 2.691 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/5.877, allocations: 151.9 kB / 2.691 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/5.877, allocations: 39.45 kB / 2.691 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/5.877, allocations: 0 / 2.691 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/5.877, allocations: 334.8 kB / 2.692 GB, free: 118 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/5.877, allocations: 20 kB / 2.692 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.01e-05/5.877, allocations: 86.94 kB / 2.692 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/5.877, allocations: 44.11 kB / 2.692 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/5.877, allocations: 3.953 kB / 2.692 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001828/5.877, allocations: 129.5 kB / 2.692 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/5.877, allocations: 365.1 kB / 2.692 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/5.877, allocations: 0 / 2.692 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/5.877, allocations: 4 kB / 2.692 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/5.877, allocations: 23.92 kB / 2.692 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/5.877, allocations: 4 kB / 2.692 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/5.878, allocations: 35.81 kB / 2.692 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/5.878, allocations: 8 kB / 2.692 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/5.878, allocations: 4 kB / 2.692 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001282/5.878, allocations: 75.89 kB / 2.692 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/5.878, allocations: 0 / 2.692 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/5.878, allocations: 4 kB / 2.692 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/5.878, allocations: 27.95 kB / 2.692 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/5.878, allocations: 4 kB / 2.692 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/5.878, allocations: 31.83 kB / 2.692 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/5.878, allocations: 11.98 kB / 2.692 GB, free: 117 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 6.288e-05/5.878, allocations: 109.6 kB / 2.693 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/5.878, allocations: 23.72 kB / 2.693 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/5.879, allocations: 139.5 kB / 2.693 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/5.879, allocations: 4 kB / 2.693 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/5.879, allocations: 0 / 2.693 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/5.879, allocations: 3.984 kB / 2.693 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/5.879, allocations: 0.5547 MB / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/5.879, allocations: 0 / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/5.879, allocations: 23.98 kB / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/5.879, allocations: 4 kB / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/5.879, allocations: 8 kB / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/5.879, allocations: 11.88 kB / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/5.879, allocations: 4 kB / 2.693 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/5.88, allocations: 349.3 kB / 2.694 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/5.88, allocations: 112.9 kB / 2.694 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/5.88, allocations: 11.94 kB / 2.694 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/5.88, allocations: 27.92 kB / 2.694 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/5.88, allocations: 7.984 kB / 2.694 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/5.88, allocations: 4 kB / 2.694 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001444/5.88, allocations: 195.1 kB / 2.694 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/5.88, allocations: 0 / 2.694 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007243/5.881, allocations: 175.8 kB / 2.694 GB, free: 115.1 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.001847/5.883, allocations: 2.147 MB / 2.696 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002769/5.883, allocations: 137.8 kB / 2.696 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/5.883, allocations: 0 / 2.696 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.277e-05/5.883, allocations: 51.86 kB / 2.696 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007516/5.884, allocations: 130.6 kB / 2.697 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007516/5.885, allocations: 390.9 kB / 2.697 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/5.885, allocations: 0.7648 MB / 2.698 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002985/5.885, allocations: 81.98 kB / 2.698 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/5.885, allocations: 71.36 kB / 2.698 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of SimCode: time 8.32e-07/5.885, allocations: 0 / 2.698 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/5.933, allocations: 23.12 MB / 2.72 GB, free: 88.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/5.933, allocations: 181.8 kB / 2.721 GB, free: 88.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/8.592, allocations: 0 / 2.721 GB, free: 88.02 MB / 0.6823 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/linux/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)