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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 190.9 kB / 16.14 MB, free: 6.688 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.16 kB / 0.9114 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3514, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001913/0.3534, allocations: 0.6931 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.3539, allocations: 213.2 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.3539, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.354, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3541, allocations: 11.94 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.3543, allocations: 63.88 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.3544, allocations: 23.92 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.3544, allocations: 8 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.3545, allocations: 19.92 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.3545, allocations: 19.91 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3546, allocations: 4 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.3547, allocations: 111.7 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.3548, allocations: 7.922 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.3548, allocations: 11.94 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.355, allocations: 99.75 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.355, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.41e-07/0.355, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.355, allocations: 4 kB / 1.069 GB, free: 9.625 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.0005188/0.3555, allocations: 373.2 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3555, allocations: 12.03 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3556, allocations: 4.844 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3557, allocations: 172.4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3557, allocations: 4.375 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.3558, allocations: 4.281 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3559, allocations: 62.17 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3559, allocations: 8.188 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3559, allocations: 3.938 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.356, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3561, allocations: 35.89 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.3564, allocations: 240.9 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.3567, allocations: 78.52 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.3567, allocations: 24.94 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3568, allocations: 4 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3568, allocations: 34.5 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.3568, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.03187/0.3887, allocations: 1.612 MB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3887, allocations: 51.41 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.3889, allocations: 117.8 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.3889, allocations: 29.7 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.389, allocations: 88.12 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.3891, allocations: 27.56 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.3893, allocations: 29.7 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3895, allocations: 322.8 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.39, allocations: 135.9 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.3905, allocations: 143.9 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3915, allocations: 301.3 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3915, allocations: 0 / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001233/0.3928, allocations: 341.5 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3928, allocations: 4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3928, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3928, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.3945, allocations: 59.94 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3945, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.3959, allocations: 55.88 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.3959, allocations: 4 kB / 1.073 GB, free: 5.07 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.0001921/0.3961, allocations: 113.8 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/0.3962, allocations: 7.906 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.3964, allocations: 20.36 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3964, allocations: 4 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3964, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3964, allocations: 0 / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/0.4021, allocations: 0.853 MB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4022, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.4033, allocations: 51.94 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.4033, allocations: 0 / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.4034, allocations: 8.062 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.4034, allocations: 7.984 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4034, allocations: 4 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000962/0.4043, allocations: 321.1 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.4044, allocations: 85.02 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.4045, allocations: 0 / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.4055, allocations: 47.89 kB / 1.074 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.4056, allocations: 7.984 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.4056, allocations: 4 kB / 1.074 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.4057, allocations: 91.36 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.52e-07/0.4057, allocations: 4.281 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004316/0.4061, allocations: 96 kB / 1.075 GB, free: 3.25 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.0002885/0.4064, allocations: 119.2 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.4074, allocations: 243.8 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4074, allocations: 4 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.4079, allocations: 95.88 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4082, allocations: 4 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.4109, allocations: 316.4 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.4111, allocations: 0.6954 MB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005219/0.4116, allocations: 51.98 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004702/0.4121, allocations: 19.42 kB / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.4121, allocations: 0 / 1.076 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of Templates: time 0.01231/0.4244, allocations: 8.278 MB / 1.084 GB, free: 9.324 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)