Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.001217/0.001217, allocations: 184.9 kB / 361.4 MB, free: 6.812 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.725/1.725, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0009521/0.000952, allocations: 96.78 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.563e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7152, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.9179, allocations: 138.1 MB / 1.099 GB, free: 1.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.9183, allocations: 80.59 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00983/0.9281, allocations: 3.163 MB / 1.103 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9282, allocations: 1.438 kB / 1.103 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9282, allocations: 0.6562 kB / 1.103 GB, free: 14.52 MB / 0.7136 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.0004774/0.9287, allocations: 442.6 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9287, allocations: 13.5 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.9288, allocations: 4.938 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.9289, allocations: 175 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.9289, allocations: 0 / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.929, allocations: 1.656 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001285/0.9291, allocations: 59.95 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.9293, allocations: 100.4 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.9293, allocations: 0 / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.9293, allocations: 5.188 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.9293, allocations: 3.984 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.9295, allocations: 154.1 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.9296, allocations: 86.48 kB / 1.104 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.9297, allocations: 64.89 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.9297, allocations: 0 / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.9298, allocations: 34.56 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.9298, allocations: 0 / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003868/0.9302, allocations: 157.5 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.9303, allocations: 81.14 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.9304, allocations: 134.3 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.9304, allocations: 29.7 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.9305, allocations: 88.14 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.9305, allocations: 7.812 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.9306, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.9308, allocations: 318.8 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.9309, allocations: 95.94 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.9311, allocations: 99 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.9313, allocations: 103.9 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9313, allocations: 4 kB / 1.105 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003744/0.9317, allocations: 249.3 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.9318, allocations: 77.06 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.9318, allocations: 0 / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.9318, allocations: 0 / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-06/0.9318, allocations: 11.48 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.9318, allocations: 0 / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.9319, allocations: 11.94 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.932, allocations: 4 kB / 1.105 GB, free: 11.74 MB / 0.7136 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 () * 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.0001012/0.9321, allocations: 144.8 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002293/0.9323, allocations: 167.2 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.9323, allocations: 11.86 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.9324, allocations: 8.344 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.9324, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9324, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9324, allocations: 0 / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.9325, allocations: 154.2 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.9325, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.9325, allocations: 4.031 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.9325, allocations: 3.953 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.9325, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.9325, allocations: 4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9325, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.9328, allocations: 196.9 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.9329, allocations: 85.02 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.9329, allocations: 3.953 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.846e-05/0.9329, allocations: 8.031 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.933, allocations: 7.984 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.933, allocations: 4 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.9331, allocations: 107.2 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9331, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003711/0.9335, allocations: 73.33 kB / 1.106 GB, free: 10.69 MB / 0.7136 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) * 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.0008676/0.9344, allocations: 0.7877 MB / 1.107 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004812/0.9348, allocations: 358.7 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9349, allocations: 0 / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.935, allocations: 131.4 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.9352, allocations: 9.328 kB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.9356, allocations: 228.4 kB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.936, allocations: 0.6925 MB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.332e-06/0.936, allocations: 4 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.936, allocations: 19.42 kB / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.936, allocations: 0 / 1.108 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.9563, allocations: 2.456 MB / 1.111 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.9566, allocations: 160.6 kB / 1.111 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.439, allocations: 0 / 1.111 GB, free: 5.758 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)