Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.735/2.735, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001697/0.001697, allocations: 194.2 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 90.22 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005184/0.0005187, allocations: 17.38 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2515, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.267, allocations: 138.7 MB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.267, allocations: 81.75 kB / 1.114 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01535/1.283, allocations: 3.187 MB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.283, allocations: 0 / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.647e-06/1.283, allocations: 0 / 1.117 GB, free: 31.28 MB / 0.698 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.000567/1.284, allocations: 448.8 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.284, allocations: 11.7 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/1.284, allocations: 40.48 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/1.284, allocations: 3.906 kB / 1.117 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.284, allocations: 178.5 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.284, allocations: 0 / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/1.284, allocations: 7.844 kB / 1.118 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/1.284, allocations: 98.05 kB / 1.118 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.284, allocations: 3.984 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/1.284, allocations: 0 / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.284, allocations: 0 / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/1.284, allocations: 62.08 kB / 1.118 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/1.284, allocations: 176.8 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/1.285, allocations: 78.95 kB / 1.118 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/1.285, allocations: 4 kB / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.285, allocations: 38.19 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/1.285, allocations: 0 / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0006745/1.285, allocations: 326.3 kB / 1.118 GB, free: 30.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.285, allocations: 83.55 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/1.286, allocations: 132.9 kB / 1.119 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/1.286, allocations: 29.61 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/1.286, allocations: 94.92 kB / 1.119 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/1.286, allocations: 19.28 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/1.286, allocations: 0 / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.286, allocations: 321.2 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/1.286, allocations: 95.28 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/1.286, allocations: 100.6 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/1.287, allocations: 163.5 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.287, allocations: 3.953 kB / 1.119 GB, free: 29.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005284/1.287, allocations: 314.7 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.539e-05/1.287, allocations: 66.56 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.287, allocations: 4.062 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.287, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/1.287, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.287, allocations: 0 / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/1.287, allocations: 10.59 kB / 1.12 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/1.288, allocations: 7.531 kB / 1.12 GB, free: 29.23 MB / 0.698 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 0.0001594/1.288, allocations: 152.6 kB / 1.12 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/1.288, allocations: 11.55 kB / 1.12 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/1.288, allocations: 8.25 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.288, allocations: 0.875 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.288, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.288, allocations: 0 / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/1.288, allocations: 177.3 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.288, allocations: 3.875 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/1.288, allocations: 3.953 kB / 1.12 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.288, allocations: 7.938 kB / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.288, allocations: 0 / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.288, allocations: 0 / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.288, allocations: 3.875 kB / 1.12 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/1.288, allocations: 228.2 kB / 1.12 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/1.289, allocations: 84.92 kB / 1.12 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.289, allocations: 3.953 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/1.289, allocations: 6.344 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/1.289, allocations: 9.781 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/1.289, allocations: 3.875 kB / 1.12 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.502e-05/1.289, allocations: 111.4 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.289, allocations: 4.031 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005017/1.289, allocations: 73.25 kB / 1.121 GB, free: 28.57 MB / 0.698 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.001005/1.29, allocations: 0.8094 MB / 1.121 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000553/1.291, allocations: 363.3 kB / 1.122 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.291, allocations: 11.94 kB / 1.122 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/1.291, allocations: 138.9 kB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/1.291, allocations: 9.484 kB / 1.122 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/1.292, allocations: 454 kB / 1.122 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.292, allocations: 0.6979 MB / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.185e-06/1.293, allocations: 0 / 1.123 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/1.293, allocations: 21.81 kB / 1.123 GB, free: 26.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.313e-06/1.293, allocations: 0 / 1.123 GB, free: 26.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/1.317, allocations: 2.809 MB / 1.126 GB, free: 26.41 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003302/1.317, allocations: 184 kB / 1.126 GB, free: 26.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.801, allocations: 1 kB / 1.126 GB, free: 26.18 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)