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.001567/0.001567, allocations: 108.1 kB / 16.27 MB, free: 5.934 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.001789/0.001789, allocations: 192.5 kB / 17.2 MB, free: 5.57 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.276/1.276, 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.7383/0.7383, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 67.91 kB / 0.4912 GB, free: 7.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3279, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.002012/0.3299, allocations: 0.6066 MB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.3322, allocations: 1.382 MB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.3323, allocations: 3.094 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.3323, allocations: 5.062 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.618e-05/0.3324, allocations: 2.328 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3335, allocations: 176.9 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3336, allocations: 49.09 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.3337, allocations: 1.781 kB / 0.5695 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.3338, allocations: 23.03 kB / 0.5695 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.815e-05/0.3338, allocations: 32.53 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3339, allocations: 2.156 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.3343, allocations: 192.6 kB / 0.5697 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.404e-05/0.3344, allocations: 17.25 kB / 0.5697 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.3344, allocations: 25.73 kB / 0.5697 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.3349, allocations: 184.5 kB / 0.5699 GB, free: 31.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3349, allocations: 2.094 kB / 0.5699 GB, free: 31.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3349, allocations: 0 / 0.5699 GB, free: 31.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.3349, allocations: 1.406 kB / 0.5699 GB, free: 31.13 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.0004646/0.3354, allocations: 443 kB / 0.5703 GB, free: 30.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3354, allocations: 14.19 kB / 0.5704 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.3355, allocations: 34.38 kB / 0.5704 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3355, allocations: 12.19 kB / 0.5704 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.3356, allocations: 173.9 kB / 0.5706 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3356, allocations: 2 kB / 0.5706 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.3357, allocations: 3.906 kB / 0.5706 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.3359, allocations: 99 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3359, allocations: 0 / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3359, allocations: 2.344 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3359, allocations: 0 / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.336, allocations: 61.58 kB / 0.5707 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.3362, allocations: 183.3 kB / 0.5709 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3364, allocations: 86.56 kB / 0.571 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3365, allocations: 66.19 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3365, allocations: 1.844 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3366, allocations: 36.05 kB / 0.5711 GB, free: 30.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3366, allocations: 3.031 kB / 0.5711 GB, free: 30.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005088/0.3371, allocations: 251.8 kB / 0.5713 GB, free: 30 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3371, allocations: 80.53 kB / 0.5714 GB, free: 29.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3373, allocations: 144.1 kB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3373, allocations: 27.14 kB / 0.5716 GB, free: 29.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.3374, allocations: 94.14 kB / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3374, allocations: 15.33 kB / 0.5717 GB, free: 29.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.3374, allocations: 30.08 kB / 0.5717 GB, free: 29.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.3375, allocations: 320 kB / 0.572 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3377, allocations: 105.8 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.3378, allocations: 102.4 kB / 0.5722 GB, free: 29.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.3381, allocations: 274.4 kB / 0.5725 GB, free: 29.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3381, allocations: 1.062 kB / 0.5725 GB, free: 29.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003888/0.3385, allocations: 327 kB / 0.5728 GB, free: 29.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.3386, allocations: 77.89 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3386, allocations: 0.5625 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3386, allocations: 0.625 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.3386, allocations: 1.125 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.3386, allocations: 0.7188 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3388, allocations: 14.62 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3388, allocations: 4.156 kB / 0.5729 GB, free: 28.96 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 8.571e-05/0.3389, allocations: 153 kB / 0.573 GB, free: 28.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.3389, allocations: 8.094 kB / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.372e-05/0.3389, allocations: 7.219 kB / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3389, allocations: 1.031 kB / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3389, allocations: 0 / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3389, allocations: 0 / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.629e-05/0.339, allocations: 179.2 kB / 0.5732 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.339, allocations: 3.938 kB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.339, allocations: 1.625 kB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.339, allocations: 0 / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3391, allocations: 7.531 kB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3391, allocations: 1.156 kB / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3391, allocations: 0 / 0.5732 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.3393, allocations: 226.1 kB / 0.5734 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.3393, allocations: 91.48 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3394, allocations: 3.484 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.3394, allocations: 5.281 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.3395, allocations: 10.81 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3395, allocations: 2.812 kB / 0.5735 GB, free: 28.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.765e-05/0.3396, allocations: 109.1 kB / 0.5737 GB, free: 28.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 0 / 0.5737 GB, free: 28.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3399, allocations: 64.03 kB / 0.5737 GB, free: 28.28 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.0006664/0.3406, allocations: 0.8154 MB / 0.5745 GB, free: 27.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.341, allocations: 372.9 kB / 0.5749 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3411, allocations: 0.5 kB / 0.5749 GB, free: 27.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3412, allocations: 135.4 kB / 0.575 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.3414, allocations: 10.66 kB / 0.575 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.3433, allocations: 2.132 MB / 0.5771 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3434, allocations: 0.6901 MB / 0.5778 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.254e-06/0.3435, allocations: 1.359 kB / 0.5778 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.3435, allocations: 21.86 kB / 0.5778 GB, free: 25.29 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3435, allocations: 0 / 0.5778 GB, free: 25.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.3646, allocations: 3.269 MB / 0.581 GB, free: 24.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.485, allocations: 9.797 kB / 0.581 GB, free: 24.45 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_CubicHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)