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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.645/2.645, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001396/0.001396, allocations: 178.5 kB / 371 MB, free: 10.89 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.292/2.292, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001663/0.001663, allocations: 84.39 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007671/0.0007674, allocations: 14.03 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2407, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001022/0.2417, allocations: 351.4 kB / 0.9787 GB, free: 28.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.2451, allocations: 1.371 MB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.2452, allocations: 0 / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.913e-05/0.2453, allocations: 0 / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.2454, allocations: 11.92 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2465, allocations: 132.9 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2467, allocations: 35.91 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.767e-05/0.2468, allocations: 7.984 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.2469, allocations: 23.97 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.247, allocations: 23.92 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.247, allocations: 0 / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005903/0.2476, allocations: 183.7 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.2477, allocations: 15.92 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.2478, allocations: 29.7 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.2481, allocations: 128 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2482, allocations: 0 / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2482, allocations: 0 / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2482, allocations: 0 / 0.9806 GB, free: 26.05 MB / 0.6198 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.0004853/0.2487, allocations: 430.6 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2488, allocations: 8.031 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.2488, allocations: 11.84 kB / 0.981 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.249, allocations: 182.9 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.249, allocations: 4 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.2491, allocations: 0 / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.2494, allocations: 93.64 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2495, allocations: 0 / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.2495, allocations: 4 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.2495, allocations: 4 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2497, allocations: 59.95 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.2499, allocations: 177.5 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2502, allocations: 86.47 kB / 0.9816 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.2504, allocations: 64.89 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.2504, allocations: 3.984 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2505, allocations: 34.56 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.2505, allocations: 4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0007459/0.2512, allocations: 251.2 kB / 0.982 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2513, allocations: 85.05 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.2515, allocations: 148.3 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.2516, allocations: 25.7 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.2516, allocations: 92.12 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.2517, allocations: 11.81 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.391e-05/0.2517, allocations: 0 / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.2518, allocations: 330.8 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.2521, allocations: 99.94 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.2524, allocations: 99.94 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2527, allocations: 171.3 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2528, allocations: 3.938 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007104/0.2535, allocations: 312.9 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.144e-05/0.2536, allocations: 75.33 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2536, allocations: 0 / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.2537, allocations: 4 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-06/0.2537, allocations: 0 / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.2537, allocations: 4.062 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2539, allocations: 19.83 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.254, allocations: 7.938 kB / 0.9834 GB, free: 22.93 MB / 0.6198 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.0001553/0.2542, allocations: 151.5 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.2542, allocations: 4 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.2543, allocations: 12.25 kB / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2543, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2543, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2543, allocations: 0 / 0.9835 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2545, allocations: 181.5 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2545, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.2545, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2546, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.2546, allocations: 11.98 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2546, allocations: 0 / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2546, allocations: 0 / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.2552, allocations: 218.7 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.2552, allocations: 93.03 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.2553, allocations: 0 / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2554, allocations: 4 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.2555, allocations: 11.92 kB / 0.984 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2556, allocations: 8 kB / 0.984 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001084/0.2557, allocations: 103.2 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.81e-07/0.2557, allocations: 0 / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000642/0.2564, allocations: 64 kB / 0.9842 GB, free: 21.98 MB / 0.6198 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.0004702/0.2569, allocations: 155.2 kB / 0.9844 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000752/0.2576, allocations: 366.7 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2577, allocations: 3.938 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.2579, allocations: 139.3 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.2583, allocations: 4 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005685/0.2589, allocations: 227.3 kB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2591, allocations: 0.6887 MB / 0.9857 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.2591, allocations: 3.938 kB / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.2591, allocations: 7.438 kB / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.2591, allocations: 0 / 0.9857 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.008364/0.2675, allocations: 1.872 MB / 0.9876 GB, free: 18.44 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)