Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009143, allocations: 87.98 kB / 16.66 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 180.4 kB / 17.57 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 241.6 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7099/0.7099, allocations: 115.5 MB / 408.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3547, allocations: 77.52 MB / 0.5606 GB, free: 36.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008228/0.3556, allocations: 349.1 kB / 0.5609 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3573, allocations: 1.389 MB / 0.5623 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.3573, allocations: 0 / 0.5623 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.3574, allocations: 4.5 kB / 0.5623 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.195e-05/0.3574, allocations: 4.797 kB / 0.5623 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.3579, allocations: 135 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.358, allocations: 40.17 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.3581, allocations: 2.578 kB / 0.5625 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.3581, allocations: 25.72 kB / 0.5625 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.3582, allocations: 30.64 kB / 0.5625 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3582, allocations: 2.594 kB / 0.5625 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.3585, allocations: 189.8 kB / 0.5627 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.3586, allocations: 11.8 kB / 0.5627 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.3586, allocations: 51.08 kB / 0.5628 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3588, allocations: 122.2 kB / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3588, allocations: 0 / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3589, allocations: 0 / 0.5629 GB, free: 34.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3589, allocations: 1 kB / 0.5629 GB, free: 34.75 MB / 446.1 MB 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.0003307/0.3592, allocations: 434.4 kB / 0.5633 GB, free: 34.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3592, allocations: 13.38 kB / 0.5633 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.3593, allocations: 9.172 kB / 0.5633 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.3594, allocations: 171.5 kB / 0.5635 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3594, allocations: 3.781 kB / 0.5635 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.3594, allocations: 3.891 kB / 0.5635 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3596, allocations: 97.45 kB / 0.5636 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.3596, allocations: 0.7969 kB / 0.5636 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3596, allocations: 5.875 kB / 0.5636 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3596, allocations: 1.781 kB / 0.5636 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.3597, allocations: 65.08 kB / 0.5636 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.3599, allocations: 178.8 kB / 0.5638 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.36, allocations: 81.83 kB / 0.5639 GB, free: 33.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.3601, allocations: 68.62 kB / 0.564 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.116e-06/0.3601, allocations: 4 kB / 0.564 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3601, allocations: 36.58 kB / 0.564 GB, free: 33.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3601, allocations: 0.5312 kB / 0.564 GB, free: 33.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003809/0.3605, allocations: 261.2 kB / 0.5643 GB, free: 33.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.3606, allocations: 80.84 kB / 0.5643 GB, free: 33.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3607, allocations: 141.2 kB / 0.5645 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3607, allocations: 26.92 kB / 0.5645 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.3607, allocations: 92.7 kB / 0.5646 GB, free: 33.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3608, allocations: 9.141 kB / 0.5646 GB, free: 33.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3608, allocations: 21.98 kB / 0.5646 GB, free: 33.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.3609, allocations: 319.6 kB / 0.5649 GB, free: 33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.361, allocations: 102.7 kB / 0.565 GB, free: 32.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3611, allocations: 102.6 kB / 0.5651 GB, free: 32.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.3614, allocations: 279.1 kB / 0.5654 GB, free: 32.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3614, allocations: 0 / 0.5654 GB, free: 32.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003528/0.3618, allocations: 329.5 kB / 0.5657 GB, free: 32.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.3618, allocations: 70.34 kB / 0.5658 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3618, allocations: 1 kB / 0.5658 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3619, allocations: 0.6562 kB / 0.5658 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.3619, allocations: 1.25 kB / 0.5658 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3619, allocations: 0 / 0.5658 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.362, allocations: 15.84 kB / 0.5658 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3621, allocations: 6.031 kB / 0.5658 GB, free: 32.63 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.3621, allocations: 152.1 kB / 0.5659 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.3622, allocations: 11 kB / 0.5659 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.366e-05/0.3622, allocations: 8.266 kB / 0.5659 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3622, allocations: 3.984 kB / 0.5659 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3622, allocations: 2.344 kB / 0.5659 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3622, allocations: 0.75 kB / 0.5659 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.264e-05/0.3623, allocations: 172.5 kB / 0.5661 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3623, allocations: 0.5938 kB / 0.5661 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-06/0.3623, allocations: 5.156 kB / 0.5661 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3623, allocations: 2 kB / 0.5661 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3623, allocations: 6.062 kB / 0.5661 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3623, allocations: 1.125 kB / 0.5661 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3623, allocations: 7.359 kB / 0.5661 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3626, allocations: 224.6 kB / 0.5663 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3626, allocations: 83.97 kB / 0.5664 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3627, allocations: 6.156 kB / 0.5664 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.3627, allocations: 9.672 kB / 0.5664 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/0.3628, allocations: 11.36 kB / 0.5665 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3628, allocations: 2.984 kB / 0.5665 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.99e-05/0.3629, allocations: 112.1 kB / 0.5666 GB, free: 31.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3629, allocations: 0.5312 kB / 0.5666 GB, free: 31.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3632, allocations: 66.2 kB / 0.5666 GB, free: 31.94 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00025/0.3635, allocations: 153.5 kB / 0.5668 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.3638, allocations: 374.8 kB / 0.5671 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3639, allocations: 0 / 0.5671 GB, free: 31.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.364, allocations: 137.6 kB / 0.5673 GB, free: 31.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.3641, allocations: 8.875 kB / 0.5673 GB, free: 31.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.3645, allocations: 248 kB / 0.5675 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3646, allocations: 0.691 MB / 0.5682 GB, free: 30.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-06/0.3646, allocations: 9.141 kB / 0.5682 GB, free: 30.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3646, allocations: 0 / 0.5682 GB, free: 30.7 MB / 446.1 MB Notification: Performance of Templates: time 0.003671/0.3683, allocations: 1.657 MB / 0.5698 GB, free: 30.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)