Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite",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.001365/0.001365, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 171 kB / 16.56 MB, free: 6.391 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.542/2.542, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.225/1.225, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.000525, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2751, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001136/0.2763, allocations: 327.1 kB / 0.557 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2792, allocations: 1.333 MB / 0.5583 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.2792, allocations: 0 / 0.5583 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.723e-05/0.2794, allocations: 3.984 kB / 0.5583 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.2794, allocations: 4 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.2804, allocations: 127.8 kB / 0.5585 GB, free: 9.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.2805, allocations: 27.95 kB / 0.5585 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.2806, allocations: 3.938 kB / 0.5585 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.2806, allocations: 19.92 kB / 0.5585 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.2807, allocations: 23.97 kB / 0.5585 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.2808, allocations: 4 kB / 0.5586 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.2812, allocations: 171.7 kB / 0.5587 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.2813, allocations: 23.92 kB / 0.5587 GB, free: 9.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.2813, allocations: 29.7 kB / 0.5588 GB, free: 9.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.2816, allocations: 116.1 kB / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2816, allocations: 0 / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.2816, allocations: 0 / 0.5589 GB, free: 9.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2816, allocations: 0 / 0.5589 GB, free: 9.457 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005614/0.2822, allocations: 434.5 kB / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.2823, allocations: 12.03 kB / 0.5593 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.658e-05/0.2823, allocations: 34.55 kB / 0.5593 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.2824, allocations: 7.906 kB / 0.5593 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2826, allocations: 175 kB / 0.5595 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2826, allocations: 0 / 0.5595 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.2826, allocations: 4 kB / 0.5595 GB, free: 8.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2829, allocations: 101.6 kB / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2829, allocations: 0 / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.283, allocations: 0 / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.283, allocations: 0 / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.2831, allocations: 59.95 kB / 0.5597 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.2834, allocations: 177.6 kB / 0.5598 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.2836, allocations: 86.47 kB / 0.5599 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.2836, allocations: 3.938 kB / 0.5599 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.2837, allocations: 30.56 kB / 0.56 GB, free: 8.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.2837, allocations: 0 / 0.56 GB, free: 8.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006512/0.2844, allocations: 336.3 kB / 0.5603 GB, free: 7.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.2844, allocations: 85.11 kB / 0.5604 GB, free: 7.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2846, allocations: 144.4 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2847, allocations: 33.73 kB / 0.5605 GB, free: 7.523 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.2848, allocations: 84.14 kB / 0.5606 GB, free: 7.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2848, allocations: 11.81 kB / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.2848, allocations: 0 / 0.5606 GB, free: 7.426 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.285, allocations: 326.8 kB / 0.5609 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.2852, allocations: 99.94 kB / 0.561 GB, free: 7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.2854, allocations: 103.9 kB / 0.5611 GB, free: 6.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.2856, allocations: 166.7 kB / 0.5613 GB, free: 6.727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2857, allocations: 0 / 0.5613 GB, free: 6.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000541/0.2862, allocations: 320.8 kB / 0.5616 GB, free: 6.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.433e-05/0.2863, allocations: 75.38 kB / 0.5617 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2863, allocations: 3.938 kB / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.2864, allocations: 0 / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-06/0.2864, allocations: 7.953 kB / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.2864, allocations: 0 / 0.5617 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2866, allocations: 15.84 kB / 0.5617 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.2866, allocations: 4 kB / 0.5617 GB, free: 6.277 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001766/0.2868, allocations: 155.6 kB / 0.5618 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2869, allocations: 8.125 kB / 0.5618 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.2869, allocations: 8.234 kB / 0.5619 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2869, allocations: 3.938 kB / 0.5619 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.2869, allocations: 3.953 kB / 0.5619 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2869, allocations: 3.938 kB / 0.5619 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2871, allocations: 181.5 kB / 0.562 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2872, allocations: 0 / 0.562 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.2872, allocations: 0 / 0.562 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2872, allocations: 0 / 0.562 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.2872, allocations: 4 kB / 0.562 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2872, allocations: 4 kB / 0.562 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2872, allocations: 0 / 0.562 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.2877, allocations: 226.7 kB / 0.5623 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.2877, allocations: 81.02 kB / 0.5623 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.2878, allocations: 4 kB / 0.5623 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.2878, allocations: 4 kB / 0.5623 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.592e-05/0.288, allocations: 11.98 kB / 0.5624 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.288, allocations: 4.031 kB / 0.5624 GB, free: 5.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.2881, allocations: 107.2 kB / 0.5625 GB, free: 5.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2881, allocations: 0 / 0.5625 GB, free: 5.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.2886, allocations: 71.94 kB / 0.5625 GB, free: 5.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001061/0.2897, allocations: 0.8021 MB / 0.5633 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.2904, allocations: 370.7 kB / 0.5637 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2904, allocations: 0 / 0.5637 GB, free: 4.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.2906, allocations: 139.3 kB / 0.5638 GB, free: 3.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001825/0.2908, allocations: 8 kB / 0.5638 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2919, allocations: 449.7 kB / 0.5642 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.2923, allocations: 0.6926 MB / 0.5649 GB, free: 2.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.171e-05/0.2923, allocations: 4 kB / 0.5649 GB, free: 2.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.2924, allocations: 15.44 kB / 0.5649 GB, free: 2.691 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2924, allocations: 0 / 0.5649 GB, free: 2.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.3189, allocations: 2.853 MB / 0.5677 GB, free: 15.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004464/0.3195, allocations: 180.6 kB / 0.5679 GB, free: 15.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/3.549, allocations: 3.938 kB / 0.5679 GB, free: 15.74 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: