Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 249.5 MB / 257 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001344, allocations: 176.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008485/0.0008484, allocations: 91.75 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.252e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7062/0.8835, allocations: 132.8 MB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.8839, allocations: 80.83 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.014/0.8979, allocations: 3.178 MB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8979, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.898, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 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.000427/0.8984, allocations: 432 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.8984, allocations: 8.031 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.8985, allocations: 7.906 kB / 1.019 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.8987, allocations: 177 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.8987, allocations: 4 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.8987, allocations: 0 / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001489/0.8989, allocations: 63.02 kB / 1.019 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.8991, allocations: 96.58 kB / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8991, allocations: 0 / 1.019 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8991, allocations: 3.938 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.8991, allocations: 7.812 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.8993, allocations: 156.2 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.8995, allocations: 80.86 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.8996, allocations: 67.17 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.8996, allocations: 3.938 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.8997, allocations: 34.56 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.8997, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004306/0.9001, allocations: 159.6 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.9002, allocations: 81.11 kB / 1.019 GB, free: 408 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.9004, allocations: 132.6 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.9004, allocations: 29.7 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.9005, allocations: 86.95 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.9005, allocations: 15.92 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.9005, allocations: 0 / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9007, allocations: 318.2 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.9009, allocations: 97.31 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.9011, allocations: 92.88 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.9014, allocations: 98.86 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9014, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005621/0.902, allocations: 251 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.902, allocations: 74.81 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.9021, allocations: 4 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.9021, allocations: 4.062 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.9021, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.9021, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.9022, allocations: 19.78 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.9023, allocations: 4 kB / 1.021 GB, free: 15.23 MB / 0.6511 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.0001033/0.9024, allocations: 141.9 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003451/0.9027, allocations: 171.4 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.9028, allocations: 7.906 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.9028, allocations: 8.375 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9028, allocations: 7.984 kB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.9028, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.9028, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.903, allocations: 145 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.903, allocations: 4 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-06/0.903, allocations: 3.953 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.903, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.903, allocations: 3.984 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.903, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.903, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.9034, allocations: 199.2 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.9035, allocations: 85.02 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.9035, allocations: 3.953 kB / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.9036, allocations: 7.984 kB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.9037, allocations: 7.562 kB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.9037, allocations: 7.938 kB / 1.021 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.854e-05/0.9038, allocations: 106.1 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9038, allocations: 4.031 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004825/0.9043, allocations: 67.94 kB / 1.022 GB, free: 14.21 MB / 0.6511 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.0009868/0.9053, allocations: 0.7802 MB / 1.022 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.9058, allocations: 360.9 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9058, allocations: 96 / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.906, allocations: 136.7 kB / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9062, allocations: 17.28 kB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.9068, allocations: 222 kB / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.9071, allocations: 0.6924 MB / 1.024 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.31e-06/0.9071, allocations: 0 / 1.024 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.9072, allocations: 17.88 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/0.9072, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/0.9301, allocations: 2.45 MB / 1.026 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/0.9305, allocations: 164.6 kB / 1.026 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.406/2.337, allocations: 8.75 kB / 1.026 GB, free: 9.348 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)