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.01222/0.01222, allocations: 104.2 kB / 15.74 MB, free: 6.047 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.002955/0.002955, allocations: 188 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.472/2.472, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.299/1.299, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 72.28 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2539, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.003289/0.2573, allocations: 0.504 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002226/0.2575, allocations: 19.89 kB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.2576, allocations: 0 / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.2576, allocations: 0 / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.2579, allocations: 0 / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.2579, allocations: 0 / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.258, allocations: 11.94 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.2581, allocations: 7.938 kB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.2582, allocations: 0 / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.2582, allocations: 4 kB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2582, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-06/0.2583, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.2583, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.2583, allocations: 0 / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.994e-05/0.2584, allocations: 11.92 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.2584, allocations: 3.938 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.421e-06/0.2584, allocations: 4 kB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2584, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB 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.0004812/0.2589, allocations: 311.5 kB / 0.66 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/0.259, allocations: 12.06 kB / 0.66 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.2591, allocations: 34.75 kB / 0.6601 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.2591, allocations: 0.9375 kB / 0.6601 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.2593, allocations: 164.4 kB / 0.6602 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2593, allocations: 384 / 0.6602 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.2593, allocations: 8.125 kB / 0.6602 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.2595, allocations: 47.36 kB / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2595, allocations: 0 / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2596, allocations: 0 / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.2596, allocations: 0 / 0.6603 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.2596, allocations: 4 kB / 0.6603 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.2599, allocations: 154.5 kB / 0.6604 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.26, allocations: 45.16 kB / 0.6605 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.2601, allocations: 20.33 kB / 0.6605 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.2601, allocations: 0 / 0.6605 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.2602, allocations: 30.91 kB / 0.6605 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2602, allocations: 0 / 0.6605 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002437/0.2604, allocations: 45.62 kB / 0.6606 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.2605, allocations: 89.3 kB / 0.6606 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.2606, allocations: 89.86 kB / 0.6607 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.2606, allocations: 25.7 kB / 0.6608 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2607, allocations: 80.14 kB / 0.6608 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.2607, allocations: 10.72 kB / 0.6608 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.2608, allocations: 17.7 kB / 0.6609 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2609, allocations: 310.8 kB / 0.6612 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.549e-05/0.261, allocations: 0 / 0.6612 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.261, allocations: 17.72 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.747e-05/0.2611, allocations: 17.72 kB / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2611, allocations: 0 / 0.6612 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.2612, allocations: 49.56 kB / 0.6612 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2613, allocations: 7.938 kB / 0.6612 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2613, allocations: 0 / 0.6612 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.2613, allocations: 128 / 0.6612 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.2614, allocations: 8 kB / 0.6613 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2614, allocations: 3.984 kB / 0.6613 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.2615, allocations: 8 kB / 0.6613 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2615, allocations: 0 / 0.6613 GB, free: 8.359 MB / 0.4981 GB 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 0.0001168/0.2616, allocations: 110.7 kB / 0.6614 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.2616, allocations: 15.86 kB / 0.6614 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.2618, allocations: 52.78 kB / 0.6614 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2618, allocations: 0 / 0.6614 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2618, allocations: 4 kB / 0.6614 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2619, allocations: 0 / 0.6614 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.2622, allocations: 149.6 kB / 0.6616 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.2622, allocations: 3.938 kB / 0.6616 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.2623, allocations: 4 kB / 0.6616 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.2623, allocations: 3.984 kB / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2623, allocations: 0 / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2623, allocations: 0 / 0.6616 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2623, allocations: 4 kB / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.2624, allocations: 70.03 kB / 0.6617 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.2625, allocations: 88.94 kB / 0.6617 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2626, allocations: 0 / 0.6617 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.2626, allocations: 4 kB / 0.6618 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.2626, allocations: 7.922 kB / 0.6618 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2626, allocations: 0 / 0.6618 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.2627, allocations: 79.31 kB / 0.6618 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2627, allocations: 0 / 0.6618 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003403/0.2631, allocations: 4 kB / 0.6618 GB, free: 7.66 MB / 0.4981 GB 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.0005739/0.2636, allocations: 0.6016 MB / 0.6624 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.2638, allocations: 11.94 kB / 0.6624 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.2638, allocations: 0 / 0.6624 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.795e-05/0.2638, allocations: 7.984 kB / 0.6624 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.2641, allocations: 2.078 kB / 0.6624 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.2646, allocations: 115.5 kB / 0.6626 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.2651, allocations: 0.6808 MB / 0.6632 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.2651, allocations: 7.938 kB / 0.6632 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.2652, allocations: 7.438 kB / 0.6632 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.2652, allocations: 0 / 0.6632 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.2912, allocations: 0.9074 MB / 0.6641 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.42, allocations: 2.531 kB / 0.6641 GB, free: 5.293 MB / 0.4981 GB (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)