Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.6 MB / 307.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001328, allocations: 200.7 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.6366 GB, free: 9.578 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001105, allocations: 95.84 kB / 0.7509 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004228, allocations: 16 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9074/1.228, allocations: 139.8 MB / 1.125 GB, free: 35.23 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.228, allocations: 83.2 kB / 1.125 GB, free: 35.17 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00951/1.238, allocations: 3.192 MB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.669e-06/1.238, allocations: 3.609 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.238, allocations: 0 / 1.128 GB, free: 32.96 MB / 0.7292 GB 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.0004608/1.238, allocations: 446.8 kB / 1.129 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.239, allocations: 16.02 kB / 1.129 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/1.239, allocations: 34.56 kB / 1.129 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.239, allocations: 13.97 kB / 1.129 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/1.239, allocations: 172 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.239, allocations: 0 / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/1.239, allocations: 5.828 kB / 1.129 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/1.239, allocations: 95.14 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.239, allocations: 0 / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.239, allocations: 0 / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/1.239, allocations: 1.719 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/1.239, allocations: 66.44 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/1.239, allocations: 176.1 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/1.239, allocations: 80.78 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/1.239, allocations: 4.031 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.239, allocations: 32.3 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/1.24, allocations: 0 / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0004007/1.24, allocations: 340.1 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/1.24, allocations: 77.11 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.661e-05/1.24, allocations: 137.9 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.24, allocations: 25.7 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/1.24, allocations: 92.12 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/1.24, allocations: 15.75 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/1.24, allocations: 0 / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/1.24, allocations: 322.9 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/1.24, allocations: 97.16 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.862e-05/1.24, allocations: 97.89 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/1.241, allocations: 165 kB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.241, allocations: 0 / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003009/1.241, allocations: 314.5 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/1.241, allocations: 70.88 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.241, allocations: 4.75 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.241, allocations: 3.938 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/1.241, allocations: 0 / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.241, allocations: 1.047 kB / 1.131 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/1.241, allocations: 15.39 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.241, allocations: 4 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB 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 9.466e-05/1.241, allocations: 148.5 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/1.241, allocations: 15.86 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/1.241, allocations: 9.219 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.241, allocations: 1 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.241, allocations: 0 / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.241, allocations: 4 kB / 1.131 GB, free: 29.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.5e-05/1.241, allocations: 171.2 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.241, allocations: 4 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-06/1.241, allocations: 7.281 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.241, allocations: 4.516 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.241, allocations: 0.75 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/1.241, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.241, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/1.242, allocations: 229.9 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/1.242, allocations: 81.02 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/1.242, allocations: 8.641 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/1.242, allocations: 11.75 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/1.242, allocations: 7.188 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/1.242, allocations: 8 kB / 1.132 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.159e-05/1.242, allocations: 101.7 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.242, allocations: 3.938 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002866/1.242, allocations: 71.94 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB 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.0006418/1.243, allocations: 0.8236 MB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003772/1.243, allocations: 365.9 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.243, allocations: 0 / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/1.243, allocations: 140 kB / 1.133 GB, free: 27.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/1.244, allocations: 5.359 kB / 1.133 GB, free: 27.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/1.244, allocations: 449.5 kB / 1.134 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/1.244, allocations: 0.6908 MB / 1.134 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.927e-06/1.244, allocations: 4 kB / 1.134 GB, free: 26.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/1.244, allocations: 16.2 kB / 1.134 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.244, allocations: 3.938 kB / 1.134 GB, free: 26.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/1.259, allocations: 2.808 MB / 1.137 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.26, allocations: 183.7 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/3.019, allocations: 3.938 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)