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.001892/0.001892, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002617/0.002617, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.439/2.439, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.866/1.866, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005817/0.0005818, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3461, allocations: 82.31 MB / 0.5873 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0009682/0.3471, allocations: 254.9 kB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.3474, allocations: 43.84 kB / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.228e-05/0.3474, allocations: 0 / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.3475, allocations: 0 / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3476, allocations: 0 / 0.5876 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.669e-05/0.3477, allocations: 11.92 kB / 0.5876 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.3478, allocations: 4 kB / 0.5876 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.368e-05/0.3478, allocations: 0 / 0.5876 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.3479, allocations: 7.922 kB / 0.5876 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.348, allocations: 11.98 kB / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.348, allocations: 4 kB / 0.5876 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.3481, allocations: 4 kB / 0.5876 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.3481, allocations: 0 / 0.5876 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.3482, allocations: 25.7 kB / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.301e-05/0.3482, allocations: 7.984 kB / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3483, allocations: 0 / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3483, allocations: 3.938 kB / 0.5876 GB, free: 2.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3483, allocations: 0 / 0.5876 GB, free: 2.676 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.0005974/0.3489, allocations: 323.3 kB / 0.5879 GB, free: 2.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.349, allocations: 12.03 kB / 0.5879 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.599e-05/0.349, allocations: 34.56 kB / 0.588 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.3491, allocations: 4 kB / 0.588 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3493, allocations: 179.2 kB / 0.5882 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3493, allocations: 4 kB / 0.5882 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3494, allocations: 0 / 0.5882 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.3495, allocations: 33.69 kB / 0.5882 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3495, allocations: 0 / 0.5882 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3495, allocations: 4 kB / 0.5882 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3495, allocations: 0 / 0.5882 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.3496, allocations: 4 kB / 0.5882 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002336/0.3498, allocations: 161.6 kB / 0.5884 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.3499, allocations: 22.52 kB / 0.5884 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3499, allocations: 0 / 0.5884 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.35, allocations: 38.61 kB / 0.5884 GB, free: 1.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.35, allocations: 0 / 0.5884 GB, free: 1.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001982/0.3502, allocations: 41.59 kB / 0.5885 GB, free: 1.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3503, allocations: 55.53 kB / 0.5885 GB, free: 1.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3504, allocations: 113.8 kB / 0.5886 GB, free: 1.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3505, allocations: 25.7 kB / 0.5886 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.3505, allocations: 88.08 kB / 0.5887 GB, free: 1.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.3506, allocations: 0 / 0.5887 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.3506, allocations: 0 / 0.5887 GB, free: 1.348 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3508, allocations: 314.8 kB / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.3508, allocations: 3.984 kB / 0.589 GB, free: 1.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.3508, allocations: 21.72 kB / 0.589 GB, free: 1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.3509, allocations: 4 kB / 0.5891 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3509, allocations: 3.953 kB / 0.5891 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001277/0.351, allocations: 53.53 kB / 0.5891 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.3511, allocations: 8 kB / 0.5891 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3511, allocations: 0 / 0.5891 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3511, allocations: 3.984 kB / 0.5891 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/0.3512, allocations: 4.125 kB / 0.5891 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3512, allocations: 4 kB / 0.5891 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.3513, allocations: 0 / 0.5891 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3513, allocations: 4 kB / 0.5891 GB, free: 0.9102 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.3514, allocations: 108.2 kB / 0.5892 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.3515, allocations: 7.953 kB / 0.5892 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.3516, allocations: 52.73 kB / 0.5893 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3517, allocations: 3.938 kB / 0.5893 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3517, allocations: 4.031 kB / 0.5893 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3517, allocations: 7.984 kB / 0.5893 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3519, allocations: 153.7 kB / 0.5895 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3519, allocations: 0 / 0.5895 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.352, allocations: 7.953 kB / 0.5895 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.352, allocations: 0 / 0.5895 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.352, allocations: 256 / 0.5895 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.352, allocations: 0 / 0.5895 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.352, allocations: 4 kB / 0.5895 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.3522, allocations: 81.14 kB / 0.5895 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.3523, allocations: 81.02 kB / 0.5896 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3523, allocations: 3.953 kB / 0.5896 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.3524, allocations: 3.984 kB / 0.5896 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3524, allocations: 11.88 kB / 0.5896 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3524, allocations: 0 / 0.5896 GB, free: 296 kB / 494.1 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.3525, allocations: 83.28 kB / 0.5897 GB, free: 212 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3525, allocations: 0 / 0.5897 GB, free: 212 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.3529, allocations: 4 kB / 0.5897 GB, free: 208 kB / 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 (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.0005726/0.3535, allocations: 0.6126 MB / 0.5903 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3536, allocations: 15.92 kB / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3536, allocations: 0 / 0.5903 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.3537, allocations: 12.22 kB / 0.5903 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.3539, allocations: 12 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.3549, allocations: 0.5098 MB / 0.5909 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.3553, allocations: 0.6809 MB / 0.5915 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3553, allocations: 4 kB / 0.5915 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.3554, allocations: 11.44 kB / 0.5915 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.3554, allocations: 0 / 0.5915 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.3893, allocations: 0.9686 MB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/0.3897, allocations: 163.2 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/3.469, allocations: 0 / 0.5926 GB, free: 13.16 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/linux/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) Environment - environmentSimulation: