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.001095/0.001095, allocations: 102.9 kB / 15.98 MB, free: 6.344 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.001079/0.001079, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.592/1.592, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7159/0.7159, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.89 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3779, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001425/0.3793, allocations: 0.6698 MB / 0.5567 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.3805, allocations: 1.382 MB / 0.558 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.3805, allocations: 2.562 kB / 0.558 GB, free: 34.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.3806, allocations: 6.172 kB / 0.558 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.3806, allocations: 1.125 kB / 0.558 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.3811, allocations: 162.3 kB / 0.5582 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.3812, allocations: 51.36 kB / 0.5582 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.93e-05/0.3812, allocations: 4.797 kB / 0.5582 GB, free: 34.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.3813, allocations: 19.89 kB / 0.5583 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.3813, allocations: 29.72 kB / 0.5583 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3813, allocations: 2.75 kB / 0.5583 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.3816, allocations: 196.4 kB / 0.5585 GB, free: 34.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.3816, allocations: 14.98 kB / 0.5585 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.3817, allocations: 23.84 kB / 0.5585 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.3819, allocations: 190.8 kB / 0.5587 GB, free: 34.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3819, allocations: 1.188 kB / 0.5587 GB, free: 34.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3819, allocations: 0.5625 kB / 0.5587 GB, free: 34.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3819, allocations: 0.75 kB / 0.5587 GB, free: 34.64 MB / 446.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.0002696/0.3822, allocations: 437.9 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.3822, allocations: 9.5 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.008e-05/0.3822, allocations: 41.7 kB / 0.5592 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.3822, allocations: 8.625 kB / 0.5592 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.096e-05/0.3823, allocations: 178.6 kB / 0.5594 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3823, allocations: 1.969 kB / 0.5594 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3823, allocations: 4.594 kB / 0.5594 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3825, allocations: 96.67 kB / 0.5594 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.3825, allocations: 0 / 0.5594 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3825, allocations: 1.312 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3825, allocations: 5.406 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.3826, allocations: 60.02 kB / 0.5595 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.687e-05/0.3827, allocations: 176.3 kB / 0.5597 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.3828, allocations: 86.77 kB / 0.5598 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.3829, allocations: 65.94 kB / 0.5598 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.3829, allocations: 1.734 kB / 0.5598 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.3829, allocations: 39.19 kB / 0.5599 GB, free: 33.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3829, allocations: 0 / 0.5599 GB, free: 33.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003128/0.3832, allocations: 255.9 kB / 0.5601 GB, free: 33.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.3833, allocations: 84.16 kB / 0.5602 GB, free: 33.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.484e-05/0.3834, allocations: 147 kB / 0.5603 GB, free: 33.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.3834, allocations: 31.3 kB / 0.5604 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.3834, allocations: 93.5 kB / 0.5604 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3834, allocations: 14.81 kB / 0.5605 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.3835, allocations: 28.33 kB / 0.5605 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.3835, allocations: 321.4 kB / 0.5608 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3836, allocations: 107.3 kB / 0.5609 GB, free: 32.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3837, allocations: 102.4 kB / 0.561 GB, free: 32.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.384, allocations: 274.8 kB / 0.5613 GB, free: 32.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.384, allocations: 1.094 kB / 0.5613 GB, free: 32.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002809/0.3843, allocations: 324.2 kB / 0.5616 GB, free: 32.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.3843, allocations: 67.81 kB / 0.5616 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.3843, allocations: 0 / 0.5616 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.3843, allocations: 2.656 kB / 0.5616 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3843, allocations: 3.938 kB / 0.5616 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.3843, allocations: 1.938 kB / 0.5616 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/0.3844, allocations: 10.7 kB / 0.5617 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3845, allocations: 4.031 kB / 0.5617 GB, free: 32.47 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.3845, allocations: 153.2 kB / 0.5618 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.3845, allocations: 11.97 kB / 0.5618 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-06/0.3846, allocations: 8.516 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3846, allocations: 0 / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3846, allocations: 1.25 kB / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-06/0.3846, allocations: 0 / 0.5618 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.357e-05/0.3846, allocations: 177.8 kB / 0.562 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3847, allocations: 3.938 kB / 0.562 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-06/0.3847, allocations: 1.797 kB / 0.562 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.3847, allocations: 0.9062 kB / 0.562 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3847, allocations: 2.719 kB / 0.562 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3847, allocations: 1.219 kB / 0.562 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3847, allocations: 0 / 0.562 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.3849, allocations: 226.8 kB / 0.5622 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.3849, allocations: 96.5 kB / 0.5623 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3849, allocations: 2.719 kB / 0.5623 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.384e-05/0.385, allocations: 8.859 kB / 0.5623 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.385, allocations: 10.72 kB / 0.5623 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.3851, allocations: 2.375 kB / 0.5623 GB, free: 31.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.3851, allocations: 111.5 kB / 0.5624 GB, free: 31.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3851, allocations: 0 / 0.5624 GB, free: 31.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3854, allocations: 67.31 kB / 0.5625 GB, free: 31.78 MB / 446.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 (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.000483/0.3859, allocations: 0.8148 MB / 0.5633 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3862, allocations: 376.1 kB / 0.5637 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3862, allocations: 0 / 0.5637 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3863, allocations: 133.7 kB / 0.5638 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.3865, allocations: 9.391 kB / 0.5638 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.388, allocations: 2.135 MB / 0.5659 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.494e-05/0.3881, allocations: 0.6914 MB / 0.5666 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.718e-06/0.3881, allocations: 0.7188 kB / 0.5666 GB, free: 28.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.3882, allocations: 17.83 kB / 0.5666 GB, free: 28.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3882, allocations: 1.344 kB / 0.5666 GB, free: 28.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9934/1.382, allocations: 3.127 MB / 0.5696 GB, free: 28.53 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.382, allocations: 205.6 kB / 0.5698 GB, free: 28.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/3.09, allocations: 5.219 kB / 0.5698 GB, free: 28.27 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/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)