Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",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.0008308/0.0008308, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004771/0.004772, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7109/0.7109, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 12 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3334, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.0004992/0.334, allocations: 253.1 kB / 0.584 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.439e-05/0.3341, allocations: 16.86 kB / 0.584 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.3341, allocations: 0 / 0.584 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-06/0.3341, allocations: 0 / 0.584 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3342, allocations: 8.656 kB / 0.584 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.345e-06/0.3342, allocations: 0 / 0.584 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.126e-05/0.3343, allocations: 2.641 kB / 0.584 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.3343, allocations: 0.9688 kB / 0.584 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.3343, allocations: 5.531 kB / 0.584 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.3344, allocations: 5.031 kB / 0.584 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.3344, allocations: 4.969 kB / 0.584 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-06/0.3344, allocations: 0 / 0.584 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3344, allocations: 0.5625 kB / 0.584 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.3344, allocations: 30.64 kB / 0.5841 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.681e-05/0.3345, allocations: 5.828 kB / 0.5841 GB, free: 3.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3345, allocations: 0 / 0.5841 GB, free: 3.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3345, allocations: 0 / 0.5841 GB, free: 3.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.3345, allocations: 0 / 0.5841 GB, free: 3.832 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001364/0.3346, allocations: 308.9 kB / 0.5844 GB, free: 3.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3347, allocations: 9.594 kB / 0.5844 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.795e-05/0.3347, allocations: 36.28 kB / 0.5844 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.3347, allocations: 1.906 kB / 0.5844 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.233e-05/0.3347, allocations: 161.9 kB / 0.5846 GB, free: 3.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3348, allocations: 9.406 kB / 0.5846 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.3348, allocations: 1.344 kB / 0.5846 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.264e-05/0.3348, allocations: 47.97 kB / 0.5846 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.3349, allocations: 1.094 kB / 0.5846 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.3349, allocations: 0 / 0.5846 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3349, allocations: 8.719 kB / 0.5846 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.3349, allocations: 7.812 kB / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.969e-05/0.335, allocations: 154.2 kB / 0.5848 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.335, allocations: 34.03 kB / 0.5848 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.335, allocations: 16.03 kB / 0.5848 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3351, allocations: 9.094 kB / 0.5848 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.3351, allocations: 36.28 kB / 0.5849 GB, free: 2.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3351, allocations: 0 / 0.5849 GB, free: 2.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001051/0.3352, allocations: 49.66 kB / 0.5849 GB, free: 2.816 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3352, allocations: 77.89 kB / 0.585 GB, free: 2.723 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.296e-05/0.3353, allocations: 91.12 kB / 0.5851 GB, free: 2.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.3353, allocations: 26.73 kB / 0.5851 GB, free: 2.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.735e-06/0.3353, allocations: 84.14 kB / 0.5852 GB, free: 2.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3353, allocations: 4.156 kB / 0.5852 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.3353, allocations: 11.06 kB / 0.5852 GB, free: 2.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.297e-05/0.3354, allocations: 316.5 kB / 0.5855 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-06/0.3354, allocations: 0.75 kB / 0.5855 GB, free: 2.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.716e-05/0.3354, allocations: 13.14 kB / 0.5855 GB, free: 2.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.3354, allocations: 23.39 kB / 0.5855 GB, free: 2.137 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3354, allocations: 0.75 kB / 0.5855 GB, free: 2.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.665e-05/0.3355, allocations: 45.22 kB / 0.5856 GB, free: 2.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3355, allocations: 6.969 kB / 0.5856 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3355, allocations: 0.5625 kB / 0.5856 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.3355, allocations: 1.031 kB / 0.5856 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.3356, allocations: 4.625 kB / 0.5856 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3356, allocations: 4.5 kB / 0.5856 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.3356, allocations: 9 kB / 0.5856 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.3356, allocations: 5.391 kB / 0.5856 GB, free: 2.082 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.3357, allocations: 110.9 kB / 0.5857 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.3357, allocations: 3.938 kB / 0.5857 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.3358, allocations: 49.67 kB / 0.5858 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3358, allocations: 1.219 kB / 0.5858 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.3358, allocations: 0 / 0.5858 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.3358, allocations: 5.688 kB / 0.5858 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.607e-05/0.3358, allocations: 149.5 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3359, allocations: 1.031 kB / 0.5859 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.3359, allocations: 11.92 kB / 0.5859 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3359, allocations: 1.297 kB / 0.5859 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.3359, allocations: 0.8438 kB / 0.5859 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3359, allocations: 1.391 kB / 0.5859 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3359, allocations: 0.8125 kB / 0.5859 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.253e-05/0.336, allocations: 73.72 kB / 0.586 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.336, allocations: 86.31 kB / 0.5861 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.336, allocations: 2.453 kB / 0.5861 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.336, allocations: 0 / 0.5861 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.336, allocations: 3.094 kB / 0.5861 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.336, allocations: 4.938 kB / 0.5861 GB, free: 1.531 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.736e-06/0.336, allocations: 75.28 kB / 0.5862 GB, free: 1.457 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 0.6875 kB / 0.5862 GB, free: 1.457 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001973/0.3363, allocations: 9.094 kB / 0.5862 GB, free: 1.449 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001734/0.3364, allocations: 0.5962 MB / 0.5868 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.644e-05/0.3365, allocations: 15.61 kB / 0.5868 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3365, allocations: 0 / 0.5868 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.3365, allocations: 9.125 kB / 0.5868 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.3366, allocations: 2.281 kB / 0.5868 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.3369, allocations: 119.7 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.62e-05/0.337, allocations: 0.6728 MB / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.337, allocations: 1.516 kB / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.337, allocations: 13.59 kB / 0.5876 GB, free: 15.98 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.337, allocations: 0 / 0.5876 GB, free: 15.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6296/0.9666, allocations: 0.723 MB / 0.5883 GB, free: 15.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.9669, allocations: 176.3 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/2.415, allocations: 3.938 kB / 0.5884 GB, free: 15.59 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)