Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.0009358/0.000936, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006827/0.006827, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 16.09 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3317, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008734/0.3327, allocations: 354.7 kB / 1.074 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3347, allocations: 1.402 MB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.3348, allocations: 0 / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.858e-05/0.3349, allocations: 4 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.594e-05/0.3349, allocations: 3.938 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.3356, allocations: 138.8 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.873e-05/0.3357, allocations: 43.95 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.3358, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.3358, allocations: 27.91 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.3359, allocations: 23.91 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3359, allocations: 4 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.3363, allocations: 195.7 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.3364, allocations: 7.938 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.3365, allocations: 53.55 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.3368, allocations: 191.5 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3368, allocations: 0 / 1.077 GB, free: 5.082 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.0004558/0.3373, allocations: 434.9 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3373, allocations: 8.031 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.3374, allocations: 8.844 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3375, allocations: 172.2 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.3375, allocations: 4.375 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.3376, allocations: 4.375 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3378, allocations: 97.95 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3378, allocations: 0 / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.3378, allocations: 7.984 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3378, allocations: 0 / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.057e-05/0.3379, allocations: 63.89 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3381, allocations: 169.7 kB / 1.077 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.3383, allocations: 78.53 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.3384, allocations: 72.89 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.3384, allocations: 0 / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3384, allocations: 42.48 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3384, allocations: 0 / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004136/0.3388, allocations: 259.1 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3389, allocations: 77.11 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.339, allocations: 143.4 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3391, allocations: 29.7 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.3391, allocations: 92.08 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.3392, allocations: 15.83 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.3392, allocations: 17.72 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3393, allocations: 326.8 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3395, allocations: 99.94 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3396, allocations: 103.9 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3399, allocations: 277.9 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3399, allocations: 3.938 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003731/0.3403, allocations: 328.8 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.113e-05/0.3403, allocations: 72.8 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3404, allocations: 0 / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3404, allocations: 0 / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.3404, allocations: 3.938 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3404, allocations: 0 / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.3406, allocations: 15.84 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3406, allocations: 7.938 kB / 1.079 GB, free: 1.82 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.0001279/0.3407, allocations: 155.5 kB / 1.08 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.3407, allocations: 15.88 kB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.3408, allocations: 4.25 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3408, allocations: 0 / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3408, allocations: 0 / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.3408, allocations: 0 / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3409, allocations: 173.6 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3409, allocations: 0 / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.3409, allocations: 3.938 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3409, allocations: 4 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3409, allocations: 0 / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3409, allocations: 0 / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.341, allocations: 7.938 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.3412, allocations: 230.6 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.3413, allocations: 88.95 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3413, allocations: 0 / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.3414, allocations: 7.984 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.3414, allocations: 8 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3414, allocations: 4 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.3415, allocations: 112.8 kB / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3415, allocations: 0 / 1.08 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002875/0.3418, allocations: 63.98 kB / 1.08 GB, free: 0.8438 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.000285/0.3421, allocations: 151.2 kB / 1.08 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.3425, allocations: 374.6 kB / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3426, allocations: 0 / 1.081 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3427, allocations: 139.3 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.3429, allocations: 12.06 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.3433, allocations: 215.6 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3435, allocations: 0.6887 MB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.321e-06/0.3436, allocations: 4 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-06/0.3436, allocations: 7.438 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of SimCode: time 4.21e-07/0.3436, allocations: 0 / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of Templates: time 0.004681/0.3483, allocations: 1.922 MB / 1.084 GB, free: 13.25 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)