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.0009993/0.0009993, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001033/0.001033, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.226/1.226, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6821/0.6821, allocations: 132.2 MB / 422.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.03 kB / 0.5014 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3146, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001484/0.3161, allocations: 0.5894 MB / 0.5802 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000125/0.3163, allocations: 33.38 kB / 0.5803 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.3163, allocations: 0 / 0.5803 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.3164, allocations: 4.781 kB / 0.5803 GB, free: 4.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.3165, allocations: 5.312 kB / 0.5803 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.813e-05/0.3165, allocations: 7.422 kB / 0.5803 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.3166, allocations: 9.531 kB / 0.5803 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.3166, allocations: 6.859 kB / 0.5803 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.3166, allocations: 6.156 kB / 0.5803 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.587e-05/0.3167, allocations: 6.219 kB / 0.5803 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3167, allocations: 0.6562 kB / 0.5803 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.3167, allocations: 1.375 kB / 0.5803 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.3168, allocations: 3.172 kB / 0.5803 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.3168, allocations: 6.172 kB / 0.5803 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.083e-05/0.3168, allocations: 18.38 kB / 0.5803 GB, free: 4.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3169, allocations: 4 kB / 0.5804 GB, free: 4.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3169, allocations: 0 / 0.5804 GB, free: 4.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3169, allocations: 0.5312 kB / 0.5804 GB, free: 4.133 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.0002822/0.3172, allocations: 327.5 kB / 0.5807 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3172, allocations: 10.06 kB / 0.5807 GB, free: 3.781 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.243e-05/0.3172, allocations: 31.91 kB / 0.5807 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.992e-05/0.3172, allocations: 5.781 kB / 0.5807 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3174, allocations: 178 kB / 0.5809 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.3174, allocations: 4.375 kB / 0.5809 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3174, allocations: 2.844 kB / 0.5809 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.482e-05/0.3174, allocations: 35.2 kB / 0.5809 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-06/0.3175, allocations: 0 / 0.5809 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.3175, allocations: 0.7969 kB / 0.5809 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.3175, allocations: 0.875 kB / 0.5809 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.574e-05/0.3175, allocations: 3.766 kB / 0.5809 GB, free: 3.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.952e-05/0.3176, allocations: 156.4 kB / 0.5811 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.962e-05/0.3176, allocations: 27.77 kB / 0.5811 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.3176, allocations: 9.328 kB / 0.5811 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3177, allocations: 7.922 kB / 0.5811 GB, free: 3.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.3177, allocations: 32.06 kB / 0.5811 GB, free: 3.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3177, allocations: 0 / 0.5811 GB, free: 3.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001042/0.3178, allocations: 44.7 kB / 0.5812 GB, free: 3.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.3178, allocations: 55.34 kB / 0.5812 GB, free: 3.113 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.3179, allocations: 112.8 kB / 0.5814 GB, free: 3.008 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.941e-06/0.3179, allocations: 26.8 kB / 0.5814 GB, free: 2.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.3179, allocations: 81.73 kB / 0.5815 GB, free: 2.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3179, allocations: 9.031 kB / 0.5815 GB, free: 2.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.318, allocations: 12 kB / 0.5815 GB, free: 2.871 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.325e-05/0.318, allocations: 313 kB / 0.5818 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.318, allocations: 4.234 kB / 0.5818 GB, free: 2.559 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.318, allocations: 28.41 kB / 0.5818 GB, free: 2.531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.474e-05/0.3181, allocations: 19.61 kB / 0.5818 GB, free: 2.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3181, allocations: 4 kB / 0.5818 GB, free: 2.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.658e-05/0.3181, allocations: 53.19 kB / 0.5819 GB, free: 2.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3182, allocations: 6.031 kB / 0.5819 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3182, allocations: 0.5625 kB / 0.5819 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.3182, allocations: 1.188 kB / 0.5819 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.3182, allocations: 8.188 kB / 0.5819 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3183, allocations: 1.531 kB / 0.5819 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.3183, allocations: 1.344 kB / 0.5819 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.3183, allocations: 2 kB / 0.5819 GB, free: 2.465 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.841e-05/0.3183, allocations: 109.9 kB / 0.582 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/0.3183, allocations: 10.33 kB / 0.582 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.3184, allocations: 47.7 kB / 0.5821 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3184, allocations: 1.203 kB / 0.5821 GB, free: 2.305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3184, allocations: 5.125 kB / 0.5821 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3185, allocations: 0.7031 kB / 0.5821 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.862e-05/0.3185, allocations: 154.2 kB / 0.5822 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3185, allocations: 4.5 kB / 0.5822 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.3186, allocations: 3.734 kB / 0.5822 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3186, allocations: 1.094 kB / 0.5822 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3186, allocations: 0.6094 kB / 0.5822 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3186, allocations: 0.9375 kB / 0.5822 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3186, allocations: 0.6094 kB / 0.5822 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.177e-05/0.3187, allocations: 85.27 kB / 0.5823 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.3187, allocations: 83.58 kB / 0.5824 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.3187, allocations: 4.703 kB / 0.5824 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.3188, allocations: 6.016 kB / 0.5824 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.3188, allocations: 2.219 kB / 0.5824 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.3188, allocations: 0 / 0.5824 GB, free: 1.922 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.786e-05/0.3188, allocations: 84.73 kB / 0.5825 GB, free: 1.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3188, allocations: 0 / 0.5825 GB, free: 1.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001659/0.319, allocations: 10.75 kB / 0.5825 GB, free: 1.84 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.0001995/0.3192, allocations: 0.6119 MB / 0.5831 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.671e-05/0.3193, allocations: 15.98 kB / 0.5831 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3193, allocations: 224 / 0.5831 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.3193, allocations: 15.67 kB / 0.5831 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001244/0.3194, allocations: 2.141 kB / 0.5831 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005836/0.32, allocations: 1.153 MB / 0.5842 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.3202, allocations: 0.6783 MB / 0.5849 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.441e-05/0.3203, allocations: 3.734 kB / 0.5849 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.3203, allocations: 13.02 kB / 0.5849 GB, free: 15.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3203, allocations: 4 kB / 0.5849 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/1.339, allocations: 1.079 MB / 0.586 GB, free: 15.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/1.339, allocations: 173.6 kB / 0.5861 GB, free: 14.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/3.074, allocations: 4 kB / 0.5861 GB, free: 14.9 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)