Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",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.001911/0.001911, 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.002001/0.002001, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.245/2.245, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.333/1.333, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 68.14 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2742, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.002516/0.2768, allocations: 0.5722 MB / 0.5845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.2771, allocations: 51.8 kB / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.2772, allocations: 0 / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.2772, allocations: 0 / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.2774, allocations: 0 / 0.5846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.604e-05/0.2775, allocations: 4 kB / 0.5846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.2776, allocations: 15.92 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.2776, allocations: 0 / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.2777, allocations: 7.938 kB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.793e-05/0.2778, allocations: 11.97 kB / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.2778, allocations: 0 / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.2778, allocations: 4 kB / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.2779, allocations: 4 kB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.2779, allocations: 7.938 kB / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.238e-05/0.278, allocations: 15.92 kB / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.278, allocations: 0 / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.278, allocations: 0 / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.2781, allocations: 0 / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005557/0.2786, allocations: 323.5 kB / 0.585 GB, free: 3.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.2787, allocations: 8.031 kB / 0.585 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.2787, allocations: 30.75 kB / 0.585 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.2788, allocations: 8.938 kB / 0.585 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.279, allocations: 184.5 kB / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.279, allocations: 384 / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.279, allocations: 384 / 0.5852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.2791, allocations: 41.56 kB / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2792, allocations: 0 / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.2792, allocations: 0 / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2792, allocations: 3.938 kB / 0.5852 GB, free: 3.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.458e-05/0.2792, allocations: 4 kB / 0.5852 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.2794, allocations: 157.7 kB / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/0.2795, allocations: 18.58 kB / 0.5854 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.2795, allocations: 12.78 kB / 0.5854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2796, allocations: 4 kB / 0.5854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2796, allocations: 38.56 kB / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2796, allocations: 0 / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001692/0.2798, allocations: 37.81 kB / 0.5855 GB, free: 3.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.2798, allocations: 55.41 kB / 0.5855 GB, free: 2.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2799, allocations: 109.8 kB / 0.5857 GB, free: 2.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.28, allocations: 25.7 kB / 0.5857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.28, allocations: 84.14 kB / 0.5858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2801, allocations: 7.891 kB / 0.5858 GB, free: 2.754 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.2801, allocations: 17.7 kB / 0.5858 GB, free: 2.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2802, allocations: 314.8 kB / 0.5861 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.2803, allocations: 15.94 kB / 0.5861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.2803, allocations: 17.95 kB / 0.5861 GB, free: 2.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.2804, allocations: 17.72 kB / 0.5861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2804, allocations: 4 kB / 0.5861 GB, free: 2.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.2805, allocations: 57.5 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2805, allocations: 4 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2806, allocations: 12.11 kB / 0.5862 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2806, allocations: 0 / 0.5862 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.2807, allocations: 7.984 kB / 0.5862 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2807, allocations: 0 / 0.5862 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.2807, allocations: 0 / 0.5862 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2807, allocations: 0 / 0.5862 GB, free: 2.262 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.292e-05/0.2808, allocations: 109.8 kB / 0.5863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2808, allocations: 3.938 kB / 0.5863 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.281, allocations: 60.73 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.281, allocations: 0 / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.281, allocations: 0 / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.281, allocations: 0 / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2811, allocations: 153.7 kB / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2812, allocations: 7.938 kB / 0.5865 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.845e-05/0.2812, allocations: 0 / 0.5865 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2812, allocations: 4 kB / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.2813, allocations: 0 / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2813, allocations: 0 / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2813, allocations: 0 / 0.5865 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.2814, allocations: 88.98 kB / 0.5866 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.2815, allocations: 89.02 kB / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.2815, allocations: 0 / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.2816, allocations: 0 / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2816, allocations: 3.984 kB / 0.5867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.2816, allocations: 0 / 0.5867 GB, free: 1.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.985e-05/0.2817, allocations: 87.28 kB / 0.5868 GB, free: 1.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2817, allocations: 4.094 kB / 0.5868 GB, free: 1.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.282, allocations: 4 kB / 0.5868 GB, free: 1.555 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004526/0.2824, allocations: 0.6046 MB / 0.5874 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2826, allocations: 20.08 kB / 0.5874 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2826, allocations: 4.062 kB / 0.5874 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.2826, allocations: 8 kB / 0.5874 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.2828, allocations: 9.438 kB / 0.5874 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.2841, allocations: 1.152 MB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2844, allocations: 0.6807 MB / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.2844, allocations: 0 / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.2845, allocations: 23.42 kB / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.254e-06/0.2845, allocations: 0 / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.029/1.313, allocations: 1.078 MB / 0.5903 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/1.314, allocations: 185.8 kB / 0.5905 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/4.517, allocations: 0 / 0.5905 GB, free: 13.7 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)