Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002116/0.002116, allocations: 187.9 kB / 16.25 MB, free: 6.148 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.6 MB / 0.7448 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 65.47 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001756/0.3075, allocations: 0.6977 MB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.3079, allocations: 201.2 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3079, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.308, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.3081, allocations: 15.91 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3083, allocations: 55.91 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.3084, allocations: 35.84 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.3084, allocations: 7.984 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.949e-05/0.3085, allocations: 19.94 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.3085, allocations: 19.91 kB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3086, allocations: 4 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.3087, allocations: 111.7 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.3087, allocations: 11.92 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.3088, allocations: 15.92 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3089, allocations: 99.75 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3089, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.309, allocations: 0 / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.309, allocations: 0 / 1.069 GB, free: 9.418 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004893/0.3095, allocations: 371.7 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3095, allocations: 12.03 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3095, allocations: 4.844 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3097, allocations: 164.4 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3097, allocations: 4.375 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3097, allocations: 4.281 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3099, allocations: 58.16 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3099, allocations: 16.12 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3099, allocations: 3.938 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3099, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.31, allocations: 27.97 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.3103, allocations: 240.9 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3105, allocations: 78.52 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.3106, allocations: 32.88 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.3106, allocations: 3.984 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3106, allocations: 30.56 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3107, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.03052/0.3412, allocations: 1.616 MB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3413, allocations: 55.41 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3414, allocations: 113.8 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/0.3414, allocations: 30.08 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3415, allocations: 84.14 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/0.3416, allocations: 27.55 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.3418, allocations: 33.7 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.3419, allocations: 322.7 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004844/0.3424, allocations: 139.9 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.3429, allocations: 143.9 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009813/0.3439, allocations: 296.8 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3439, allocations: 0 / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001196/0.3451, allocations: 333.5 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3451, allocations: 10.03 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3452, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3452, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.3468, allocations: 67.92 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3468, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3483, allocations: 47.94 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.3484, allocations: 8 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001799/0.3486, allocations: 109.8 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.3487, allocations: 11.91 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3488, allocations: 16.38 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3488, allocations: 7.938 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3488, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3488, allocations: 7.922 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/0.3547, allocations: 0.8491 MB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3547, allocations: 0 / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.356, allocations: 52.22 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.356, allocations: 0 / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.356, allocations: 4 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.356, allocations: 7.938 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3561, allocations: 11.94 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.357, allocations: 313.2 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.3571, allocations: 85.02 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.3571, allocations: 3.984 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.3583, allocations: 47.89 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.3583, allocations: 4 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.3584, allocations: 7.984 kB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.3584, allocations: 87.28 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3584, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004226/0.3589, allocations: 99.98 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002572/0.3591, allocations: 119.2 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001013/0.3601, allocations: 251.8 kB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3602, allocations: 4 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.3606, allocations: 91.95 kB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3609, allocations: 5.828 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.3637, allocations: 322.4 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.364, allocations: 0.6846 MB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005563/0.3645, allocations: 51.98 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.365, allocations: 11.44 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.365, allocations: 8 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.01375/0.3788, allocations: 8.742 MB / 1.085 GB, free: 8.66 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)