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.001088/0.001088, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.92 kB / 0.912 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3413, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002074/0.3434, allocations: 0.6371 MB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004639/0.3439, allocations: 215 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.3439, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.344, allocations: 3.938 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3441, allocations: 3.938 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.3443, allocations: 83.73 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.3444, allocations: 23.98 kB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3445, allocations: 0 / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.3445, allocations: 19.92 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.518e-05/0.3446, allocations: 23.84 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3446, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3448, allocations: 107.8 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.3448, allocations: 11.88 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.3448, allocations: 11.92 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.345, allocations: 99.81 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.345, allocations: 4 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.345, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.345, allocations: 0 / 1.069 GB, free: 9.164 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.0004947/0.3455, allocations: 363.7 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3455, allocations: 12.03 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.3456, allocations: 8.781 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3457, allocations: 172.4 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3457, allocations: 4.375 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3458, allocations: 12.28 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.3459, allocations: 54.23 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3459, allocations: 192 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.346, allocations: 7.875 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.346, allocations: 3.938 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3461, allocations: 31.97 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.3464, allocations: 252.9 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3466, allocations: 70.47 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.3467, allocations: 24.94 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3467, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3467, allocations: 30.56 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3467, allocations: 4 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.02869/0.3754, allocations: 1.617 MB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3755, allocations: 55.41 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3756, allocations: 117.8 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.3757, allocations: 25.7 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.3758, allocations: 96.12 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/0.3759, allocations: 27.56 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.3761, allocations: 21.7 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.3762, allocations: 322.8 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.3767, allocations: 139.9 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.3772, allocations: 143.9 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3782, allocations: 297.3 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3782, allocations: 0 / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001223/0.3794, allocations: 341.5 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3795, allocations: 4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3795, allocations: 4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3795, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.3811, allocations: 67.88 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3812, allocations: 0 / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.3826, allocations: 47.94 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.3827, allocations: 8 kB / 1.074 GB, free: 4.605 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.0001809/0.3828, allocations: 114.3 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.3829, allocations: 7.906 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3831, allocations: 24.36 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3831, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.3831, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3831, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.3891, allocations: 0.8452 MB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3891, allocations: 0 / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.3903, allocations: 55.94 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3904, allocations: 8 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.3904, allocations: 4 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3904, allocations: 3.938 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.3904, allocations: 7.984 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.3914, allocations: 313.1 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3914, allocations: 85 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.3915, allocations: 8 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.3926, allocations: 39.89 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.3927, allocations: 7.984 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.3927, allocations: 4 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.3928, allocations: 99.27 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3928, allocations: 0 / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004256/0.3932, allocations: 92.38 kB / 1.075 GB, free: 2.793 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.0002448/0.3935, allocations: 119.2 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.3945, allocations: 255.8 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3946, allocations: 0 / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.395, allocations: 95.88 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3953, allocations: 8 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.3981, allocations: 306.5 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3984, allocations: 0.6807 MB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005085/0.3989, allocations: 55.98 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.3993, allocations: 19.42 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3994, allocations: 0 / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.01306/0.4124, allocations: 8.744 MB / 1.085 GB, free: 8.418 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)