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.00109/0.00109, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.001203/0.001203, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.27 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: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.001895/0.3495, allocations: 0.6097 MB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.351, allocations: 1.379 MB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.3511, allocations: 0.9688 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.3511, allocations: 0 / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.3512, allocations: 7.422 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3518, allocations: 185.2 kB / 0.5694 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.682e-05/0.3519, allocations: 43.97 kB / 0.5695 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.3519, allocations: 3.719 kB / 0.5695 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.352, allocations: 21.53 kB / 0.5695 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.3521, allocations: 33.5 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3521, allocations: 3.562 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.3524, allocations: 190.7 kB / 0.5697 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.3524, allocations: 14.3 kB / 0.5697 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.3525, allocations: 23.17 kB / 0.5697 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3527, allocations: 191.4 kB / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3527, allocations: 5.5 kB / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3527, allocations: 0 / 0.5699 GB, free: 31.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.3527, allocations: 0 / 0.5699 GB, free: 31.15 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.0002965/0.353, allocations: 443.2 kB / 0.5703 GB, free: 30.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.3531, allocations: 10.05 kB / 0.5704 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.491e-05/0.3531, allocations: 36.78 kB / 0.5704 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.3531, allocations: 9.203 kB / 0.5704 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.922e-05/0.3532, allocations: 170.5 kB / 0.5706 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3532, allocations: 1.875 kB / 0.5706 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3533, allocations: 5.391 kB / 0.5706 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3534, allocations: 100.8 kB / 0.5707 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.3534, allocations: 1.094 kB / 0.5707 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3534, allocations: 2.094 kB / 0.5707 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3535, allocations: 0.6562 kB / 0.5707 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.3535, allocations: 60.69 kB / 0.5707 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001065/0.3537, allocations: 180.8 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.944e-05/0.3538, allocations: 80.66 kB / 0.571 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.29e-05/0.3538, allocations: 67.16 kB / 0.571 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.3539, allocations: 2.031 kB / 0.571 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.3539, allocations: 40.23 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3539, allocations: 1.469 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003403/0.3542, allocations: 247.3 kB / 0.5713 GB, free: 30.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3543, allocations: 81.28 kB / 0.5714 GB, free: 29.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.3544, allocations: 146.1 kB / 0.5715 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3544, allocations: 32.39 kB / 0.5716 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.3544, allocations: 88.45 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3545, allocations: 16.22 kB / 0.5717 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.3545, allocations: 29.59 kB / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.3546, allocations: 321.6 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3547, allocations: 103.9 kB / 0.5721 GB, free: 29.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3548, allocations: 102.2 kB / 0.5722 GB, free: 29.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3551, allocations: 280.4 kB / 0.5725 GB, free: 29.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3551, allocations: 4.875 kB / 0.5725 GB, free: 29.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000307/0.3554, allocations: 323.6 kB / 0.5728 GB, free: 29.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.3554, allocations: 73.11 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3554, allocations: 1.344 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3555, allocations: 0.8906 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.3555, allocations: 0 / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3555, allocations: 2.438 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3556, allocations: 10.27 kB / 0.5729 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3556, allocations: 3.625 kB / 0.5729 GB, free: 28.99 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 7.695e-05/0.3557, allocations: 152.8 kB / 0.573 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.3557, allocations: 9.906 kB / 0.573 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.3557, allocations: 10.12 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3558, allocations: 1.75 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3558, allocations: 0.7969 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3558, allocations: 4.672 kB / 0.573 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.823e-05/0.3558, allocations: 180.9 kB / 0.5732 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3559, allocations: 4.719 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.3559, allocations: 1.188 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3559, allocations: 1.109 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3559, allocations: 3.719 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3559, allocations: 0.5625 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3559, allocations: 1.312 kB / 0.5732 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3561, allocations: 220.9 kB / 0.5734 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.3562, allocations: 91.77 kB / 0.5735 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3562, allocations: 3.828 kB / 0.5735 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/0.3562, allocations: 6.078 kB / 0.5735 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.3563, allocations: 9.438 kB / 0.5735 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.3563, allocations: 3.203 kB / 0.5735 GB, free: 28.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.852e-05/0.3564, allocations: 111.2 kB / 0.5737 GB, free: 28.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3564, allocations: 1.375 kB / 0.5737 GB, free: 28.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3566, allocations: 61.69 kB / 0.5737 GB, free: 28.31 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.0005177/0.3572, allocations: 0.8162 MB / 0.5745 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.3575, allocations: 373.6 kB / 0.5749 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3575, allocations: 0.9375 kB / 0.5749 GB, free: 27.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3576, allocations: 136.7 kB / 0.575 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.3578, allocations: 13.27 kB / 0.575 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3595, allocations: 2.132 MB / 0.5771 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.3596, allocations: 0.6947 MB / 0.5778 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.883e-06/0.3596, allocations: 1.797 kB / 0.5778 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.3596, allocations: 16.19 kB / 0.5778 GB, free: 25.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3596, allocations: 0 / 0.5778 GB, free: 25.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09549/0.4551, allocations: 3.261 MB / 0.581 GB, free: 24.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.301, allocations: 10.73 kB / 0.581 GB, free: 24.47 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)