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.0008296/0.0008297, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008646/0.0008646, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7448/0.7448, allocations: 132.3 MB / 423.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8.562 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3996, allocations: 81.56 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0005214/0.4002, allocations: 254.9 kB / 0.5834 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.4003, allocations: 41.41 kB / 0.5834 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.4004, allocations: 1.156 kB / 0.5834 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.4004, allocations: 0 / 0.5834 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.4005, allocations: 1.703 kB / 0.5834 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.583e-05/0.4005, allocations: 7.969 kB / 0.5834 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.904e-05/0.4006, allocations: 12.7 kB / 0.5834 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.734e-05/0.4006, allocations: 4.219 kB / 0.5834 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.4007, allocations: 2.75 kB / 0.5834 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.4007, allocations: 10.38 kB / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4008, allocations: 1.344 kB / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.223e-06/0.4008, allocations: 0 / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.4008, allocations: 12.31 kB / 0.5835 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.4008, allocations: 27.98 kB / 0.5835 GB, free: 3.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.294e-05/0.4009, allocations: 4.422 kB / 0.5835 GB, free: 3.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4009, allocations: 0.5625 kB / 0.5835 GB, free: 3.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4009, allocations: 3.188 kB / 0.5835 GB, free: 3.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.4009, allocations: 3.938 kB / 0.5835 GB, free: 3.727 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.0003033/0.4012, allocations: 324.7 kB / 0.5838 GB, free: 3.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4012, allocations: 9.797 kB / 0.5838 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.4013, allocations: 31.88 kB / 0.5839 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.908e-05/0.4013, allocations: 1.094 kB / 0.5839 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4014, allocations: 178 kB / 0.584 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-06/0.4015, allocations: 7.938 kB / 0.584 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.4015, allocations: 5.734 kB / 0.584 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.33e-05/0.4015, allocations: 31.2 kB / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4016, allocations: 0.6562 kB / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.4016, allocations: 0 / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4016, allocations: 1.031 kB / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.4016, allocations: 3.766 kB / 0.5841 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.4017, allocations: 157 kB / 0.5842 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.487e-05/0.4018, allocations: 27.31 kB / 0.5843 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.4018, allocations: 8.422 kB / 0.5843 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.4018, allocations: 0.8438 kB / 0.5843 GB, free: 2.855 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.4018, allocations: 32.12 kB / 0.5843 GB, free: 2.816 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4018, allocations: 0 / 0.5843 GB, free: 2.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.4019, allocations: 47.94 kB / 0.5843 GB, free: 2.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.246e-05/0.402, allocations: 52.92 kB / 0.5844 GB, free: 2.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.4021, allocations: 112.1 kB / 0.5845 GB, free: 2.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-06/0.4021, allocations: 25.7 kB / 0.5845 GB, free: 2.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.4021, allocations: 81.64 kB / 0.5846 GB, free: 2.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.4021, allocations: 8.781 kB / 0.5846 GB, free: 2.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4021, allocations: 0 / 0.5846 GB, free: 2.488 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.4022, allocations: 321.2 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.4022, allocations: 4.078 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.4022, allocations: 19.11 kB / 0.5849 GB, free: 2.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.251e-05/0.4022, allocations: 10.2 kB / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4022, allocations: 0 / 0.5849 GB, free: 2.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.677e-05/0.4023, allocations: 49.8 kB / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4023, allocations: 5.594 kB / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4023, allocations: 0 / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4024, allocations: 1.906 kB / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.4024, allocations: 3.797 kB / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4024, allocations: 1 kB / 0.585 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.4025, allocations: 5.578 kB / 0.585 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.4025, allocations: 0.9688 kB / 0.585 GB, free: 2.102 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 4.788e-05/0.4025, allocations: 119.3 kB / 0.5851 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.4025, allocations: 1.219 kB / 0.5851 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.4026, allocations: 49.41 kB / 0.5852 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4026, allocations: 7.875 kB / 0.5852 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4027, allocations: 1.406 kB / 0.5852 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4027, allocations: 0 / 0.5852 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.938e-05/0.4027, allocations: 159.2 kB / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4027, allocations: 0 / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.4028, allocations: 3.828 kB / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4028, allocations: 1.312 kB / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.4028, allocations: 1.156 kB / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4028, allocations: 0.6094 kB / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4028, allocations: 0.8438 kB / 0.5853 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.4029, allocations: 80.56 kB / 0.5854 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.403, allocations: 87.27 kB / 0.5855 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.403, allocations: 1.641 kB / 0.5855 GB, free: 1.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.403, allocations: 5.422 kB / 0.5855 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.403, allocations: 5.484 kB / 0.5855 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.403, allocations: 0.9375 kB / 0.5855 GB, free: 1.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.465e-05/0.4031, allocations: 92.41 kB / 0.5856 GB, free: 1.473 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.4031, allocations: 0 / 0.5856 GB, free: 1.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001966/0.4033, allocations: 6.938 kB / 0.5856 GB, free: 1.469 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.0002562/0.4035, allocations: 0.6152 MB / 0.5862 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.673e-05/0.4036, allocations: 15.95 kB / 0.5862 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4036, allocations: 0 / 0.5862 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.4037, allocations: 6.594 kB / 0.5862 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.4038, allocations: 10.31 kB / 0.5862 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/0.4042, allocations: 380.3 kB / 0.5866 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.4044, allocations: 0.6785 MB / 0.5873 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.531e-05/0.4044, allocations: 6.219 kB / 0.5873 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.4045, allocations: 13.39 kB / 0.5873 GB, free: 15.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4045, allocations: 0 / 0.5873 GB, free: 15.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01047/0.415, allocations: 0.9682 MB / 0.5882 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.4152, allocations: 168.8 kB / 0.5884 GB, free: 15.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/1.995, allocations: 0 / 0.5884 GB, free: 15.42 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: