Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_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.0021/0.0021, 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.003039/0.003039, 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.275/2.275, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.084/1.084, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006826/0.0006827, allocations: 18.2 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8689/0.8696, allocations: 81.57 MB / 0.583 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0009554/0.8707, allocations: 255.1 kB / 0.5832 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002697/0.8709, allocations: 37.34 kB / 0.5832 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.32e-05/0.871, allocations: 0 / 0.5832 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.8711, allocations: 4 kB / 0.5832 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.8712, allocations: 2.5 kB / 0.5832 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.401e-05/0.8714, allocations: 7.047 kB / 0.5832 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.8714, allocations: 11.69 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.8715, allocations: 1.625 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.8716, allocations: 6.125 kB / 0.5833 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.8717, allocations: 11 kB / 0.5833 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.8718, allocations: 0.7188 kB / 0.5833 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.8718, allocations: 0.75 kB / 0.5833 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.8718, allocations: 3.203 kB / 0.5833 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.8719, allocations: 26.86 kB / 0.5833 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.277e-05/0.8719, allocations: 13.34 kB / 0.5833 GB, free: 3.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.872, allocations: 3.938 kB / 0.5833 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.872, allocations: 0 / 0.5833 GB, free: 3.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.872, allocations: 4 kB / 0.5833 GB, free: 3.621 MB / 430.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.000512/0.8725, allocations: 325.1 kB / 0.5836 GB, free: 3.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.67e-05/0.8726, allocations: 10.09 kB / 0.5836 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.8727, allocations: 30.56 kB / 0.5837 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.8727, allocations: 2.328 kB / 0.5837 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.873, allocations: 176.8 kB / 0.5838 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.873, allocations: 0 / 0.5838 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.873, allocations: 1.75 kB / 0.5838 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.8732, allocations: 35.53 kB / 0.5839 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8732, allocations: 0 / 0.5839 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8732, allocations: 8 kB / 0.5839 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.8732, allocations: 0.9375 kB / 0.5839 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.8733, allocations: 7.5 kB / 0.5839 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.8735, allocations: 153.4 kB / 0.584 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.678e-05/0.8736, allocations: 22.83 kB / 0.5841 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.8736, allocations: 2.75 kB / 0.5841 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.8736, allocations: 35.12 kB / 0.5841 GB, free: 2.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.684e-06/0.8737, allocations: 0 / 0.5841 GB, free: 2.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002228/0.8739, allocations: 48.03 kB / 0.5841 GB, free: 2.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.8739, allocations: 51.41 kB / 0.5842 GB, free: 2.617 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.8741, allocations: 111.2 kB / 0.5843 GB, free: 2.512 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.8741, allocations: 26.39 kB / 0.5843 GB, free: 2.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.8742, allocations: 86.09 kB / 0.5844 GB, free: 2.395 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.8742, allocations: 1.5 kB / 0.5844 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.8742, allocations: 4 kB / 0.5844 GB, free: 2.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.8743, allocations: 317.3 kB / 0.5847 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/0.8743, allocations: 3.875 kB / 0.5847 GB, free: 2.074 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.8744, allocations: 19.83 kB / 0.5847 GB, free: 2.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.544e-05/0.8744, allocations: 4.484 kB / 0.5847 GB, free: 2.055 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8744, allocations: 0.7812 kB / 0.5847 GB, free: 2.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001268/0.8746, allocations: 62.33 kB / 0.5848 GB, free: 2.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.8746, allocations: 4.75 kB / 0.5848 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8746, allocations: 1.188 kB / 0.5848 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.8747, allocations: 0.9688 kB / 0.5848 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.8748, allocations: 3.891 kB / 0.5848 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.8748, allocations: 5.172 kB / 0.5848 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.8749, allocations: 1.844 kB / 0.5848 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.8749, allocations: 1.156 kB / 0.5848 GB, free: 2 MB / 430.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 9.274e-05/0.875, allocations: 117.7 kB / 0.5849 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.875, allocations: 0.9062 kB / 0.5849 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.8752, allocations: 57.36 kB / 0.585 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8752, allocations: 0.75 kB / 0.585 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8752, allocations: 0 / 0.585 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.8752, allocations: 0.75 kB / 0.585 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.8754, allocations: 159.1 kB / 0.5851 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.8754, allocations: 0.6562 kB / 0.5851 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.8755, allocations: 3.484 kB / 0.5851 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8755, allocations: 0.8438 kB / 0.5851 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.8755, allocations: 5.625 kB / 0.5852 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.8755, allocations: 0 / 0.5852 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.8755, allocations: 1.062 kB / 0.5852 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.8757, allocations: 76.89 kB / 0.5852 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.8758, allocations: 86.77 kB / 0.5853 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.8758, allocations: 1.797 kB / 0.5853 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.8759, allocations: 1 kB / 0.5853 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.8759, allocations: 5.828 kB / 0.5853 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.8759, allocations: 9.719 kB / 0.5853 GB, free: 1.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.876, allocations: 88.06 kB / 0.5854 GB, free: 1.371 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.876, allocations: 0 / 0.5854 GB, free: 1.371 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.8764, allocations: 2.75 kB / 0.5854 GB, free: 1.371 MB / 430.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.0003971/0.8768, allocations: 0.6157 MB / 0.586 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.877, allocations: 15.06 kB / 0.586 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.877, allocations: 0 / 0.586 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.877, allocations: 10.64 kB / 0.586 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.8772, allocations: 1.188 kB / 0.586 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009007/0.8781, allocations: 0.5142 MB / 0.5865 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.8785, allocations: 0.6817 MB / 0.5872 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.661e-05/0.8786, allocations: 2.688 kB / 0.5872 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.8786, allocations: 12.92 kB / 0.5872 GB, free: 15.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.8787, allocations: 0 / 0.5872 GB, free: 15.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.8969, allocations: 0.9636 MB / 0.5882 GB, free: 15.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003707/0.8974, allocations: 158.4 kB / 0.5883 GB, free: 15.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.746, allocations: 0 / 0.5883 GB, free: 15.18 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: