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.0009736/0.0009736, 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.007228/0.007228, 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.253/1.253, 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.7082/0.7082, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 16.73 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3579, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0005385/0.3585, allocations: 261.8 kB / 0.584 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001431/0.3586, allocations: 37.08 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.3587, allocations: 0 / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.3587, allocations: 0 / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.3588, allocations: 2.094 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.834e-05/0.3589, allocations: 10.48 kB / 0.584 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.093e-05/0.3589, allocations: 14.73 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.359, allocations: 0.7188 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.359, allocations: 6.594 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.3591, allocations: 7.328 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3591, allocations: 1 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.3591, allocations: 0.8125 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.628e-05/0.3591, allocations: 3.25 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.3592, allocations: 39.38 kB / 0.5841 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.173e-05/0.3592, allocations: 9.797 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3592, allocations: 5.188 kB / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3592, allocations: 0 / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.3592, allocations: 3.938 kB / 0.5841 GB, free: 3.758 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.0002846/0.3595, allocations: 324.7 kB / 0.5844 GB, free: 3.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3596, allocations: 9.5 kB / 0.5844 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.209e-05/0.3596, allocations: 32.11 kB / 0.5845 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.3596, allocations: 1.719 kB / 0.5845 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3597, allocations: 182.1 kB / 0.5846 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3598, allocations: 1.688 kB / 0.5847 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3598, allocations: 9.031 kB / 0.5847 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.577e-05/0.3599, allocations: 35.81 kB / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.3599, allocations: 0 / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.3599, allocations: 0.8125 kB / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.3599, allocations: 0 / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.3599, allocations: 4.609 kB / 0.5847 GB, free: 3.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.36, allocations: 152.8 kB / 0.5848 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.705e-05/0.3601, allocations: 23.42 kB / 0.5849 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.3601, allocations: 12.16 kB / 0.5849 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3601, allocations: 6.219 kB / 0.5849 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.3601, allocations: 34.56 kB / 0.5849 GB, free: 2.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3601, allocations: 0.7188 kB / 0.5849 GB, free: 2.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.3603, allocations: 39.64 kB / 0.585 GB, free: 2.809 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.3603, allocations: 52.86 kB / 0.585 GB, free: 2.746 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.3604, allocations: 112.1 kB / 0.5851 GB, free: 2.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.3604, allocations: 29.7 kB / 0.5851 GB, free: 2.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.026e-05/0.3604, allocations: 85.84 kB / 0.5852 GB, free: 2.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.3604, allocations: 1.375 kB / 0.5852 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.3604, allocations: 10.42 kB / 0.5852 GB, free: 2.504 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.3605, allocations: 313 kB / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.3605, allocations: 4.109 kB / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.3605, allocations: 19.34 kB / 0.5856 GB, free: 2.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.641e-05/0.3606, allocations: 24.38 kB / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3606, allocations: 0 / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.637e-05/0.3607, allocations: 58.03 kB / 0.5856 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3607, allocations: 6.312 kB / 0.5856 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3607, allocations: 1.688 kB / 0.5856 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3607, allocations: 0.9688 kB / 0.5856 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.3608, allocations: 8.672 kB / 0.5857 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3608, allocations: 64 / 0.5857 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.3608, allocations: 5.906 kB / 0.5857 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3608, allocations: 5.031 kB / 0.5857 GB, free: 2.094 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 4.277e-05/0.3609, allocations: 111.6 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.3609, allocations: 5.266 kB / 0.5858 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.437e-05/0.361, allocations: 53.05 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.361, allocations: 0 / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.361, allocations: 1.953 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.361, allocations: 0 / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.37e-05/0.3611, allocations: 158.6 kB / 0.586 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3611, allocations: 4.547 kB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.3611, allocations: 3.562 kB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3611, allocations: 0.9688 kB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3611, allocations: 1.359 kB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3611, allocations: 0 / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3611, allocations: 1.797 kB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.3613, allocations: 84.3 kB / 0.5861 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.3613, allocations: 82.81 kB / 0.5861 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.3613, allocations: 5.531 kB / 0.5862 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.132e-05/0.3613, allocations: 5.625 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.3613, allocations: 5.75 kB / 0.5862 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3613, allocations: 0.625 kB / 0.5862 GB, free: 1.547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.3614, allocations: 88.95 kB / 0.5862 GB, free: 1.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3614, allocations: 0 / 0.5862 GB, free: 1.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001793/0.3616, allocations: 3.469 kB / 0.5863 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 (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.0002126/0.3618, allocations: 0.615 MB / 0.5869 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.685e-05/0.3619, allocations: 15.66 kB / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3619, allocations: 0 / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.3619, allocations: 7.109 kB / 0.5869 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.000129/0.362, allocations: 5.812 kB / 0.5869 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.3627, allocations: 1.156 MB / 0.588 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.363, allocations: 0.6785 MB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.452e-05/0.363, allocations: 2.531 kB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.363, allocations: 13.52 kB / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.363, allocations: 0.9062 kB / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.672/1.035, allocations: 0.9785 MB / 0.5896 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/1.035, allocations: 174 kB / 0.5898 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.189, allocations: 0 / 0.5898 GB, free: 14.61 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/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)