Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001498/0.001499, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001794/0.001793, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7447 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.11 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3468, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002137/0.3489, allocations: 0.668 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.351, allocations: 1.426 MB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.351, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.044e-05/0.3511, allocations: 3.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.3512, allocations: 11.92 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.3518, allocations: 135.8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.087e-05/0.3519, allocations: 35.97 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.3519, allocations: 7.984 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.352, allocations: 23.91 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.352, allocations: 27.91 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3521, allocations: 0 / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.3524, allocations: 191.8 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.887e-05/0.3524, allocations: 11.98 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.3525, allocations: 31.78 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.3528, allocations: 179.6 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3528, allocations: 7.938 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3528, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3528, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 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.0004689/0.3533, allocations: 444.5 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3533, allocations: 8.031 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.3534, allocations: 8.844 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3535, allocations: 172.2 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3535, allocations: 384 / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3536, allocations: 4.375 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3537, allocations: 106 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3538, allocations: 3.938 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3538, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3538, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.3539, allocations: 59.95 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.3541, allocations: 173.7 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3542, allocations: 82.55 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.3543, allocations: 68.86 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3543, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3543, allocations: 38.5 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3543, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004166/0.3548, allocations: 259.1 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.3548, allocations: 81.11 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.355, allocations: 147.6 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.355, allocations: 25.7 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.3551, allocations: 88.14 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3551, allocations: 19.78 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.3552, allocations: 29.7 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3553, allocations: 318.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3554, allocations: 99.94 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3555, allocations: 107.9 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.3558, allocations: 281.7 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3558, allocations: 4 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003733/0.3562, allocations: 324.8 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.744e-05/0.3563, allocations: 75.45 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3563, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3563, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/0.3563, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3563, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.3565, allocations: 15.84 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3565, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.3567, allocations: 147.5 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.3567, allocations: 11.84 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.3567, allocations: 16.25 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3567, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3567, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3568, allocations: 0 / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3569, allocations: 169.6 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3569, allocations: 0 / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.3569, allocations: 3.938 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3569, allocations: 3.938 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3569, allocations: 4 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3569, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3569, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3572, allocations: 234.6 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.3573, allocations: 84.95 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3573, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.3574, allocations: 7.984 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.3574, allocations: 7.984 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3575, allocations: 0 / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.3575, allocations: 108.3 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 8.031 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003121/0.3579, allocations: 67.98 kB / 1.074 GB, free: 3.891 MB / 0.8262 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 (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.0002874/0.3581, allocations: 143.2 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.3586, allocations: 382.5 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3586, allocations: 0 / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3587, allocations: 135.3 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.3589, allocations: 11.94 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.3593, allocations: 215.5 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3596, allocations: 0.6887 MB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.175e-06/0.3596, allocations: 0 / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.3596, allocations: 7.438 kB / 1.075 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3596, allocations: 3.938 kB / 1.075 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of Templates: time 0.004597/0.3642, allocations: 1.924 MB / 1.077 GB, free: 312 kB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)