Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009819/0.0009819, 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.0009368/0.0009367, allocations: 193.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.6 MB / 0.5088 GB, free: 3.379 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3923, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00179/0.3941, allocations: 0.7103 MB / 0.7245 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004056/0.3945, allocations: 206 kB / 0.7247 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.3946, allocations: 0 / 0.7247 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.3946, allocations: 0 / 0.7247 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3948, allocations: 3.938 kB / 0.7247 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.3949, allocations: 67.89 kB / 0.7248 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.395, allocations: 35.84 kB / 0.7248 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.3951, allocations: 4 kB / 0.7248 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.3951, allocations: 11.92 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.711e-05/0.3952, allocations: 23.91 kB / 0.7248 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.3952, allocations: 0 / 0.7248 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3953, allocations: 111.7 kB / 0.725 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.3954, allocations: 4 kB / 0.725 GB, free: 12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.3954, allocations: 23.84 kB / 0.725 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.3956, allocations: 103.8 kB / 0.7251 GB, free: 11.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3956, allocations: 7.938 kB / 0.7251 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3956, allocations: 0 / 0.7251 GB, free: 11.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.3956, allocations: 0 / 0.7251 GB, free: 11.87 MB / 0.545 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.0004739/0.3961, allocations: 365.4 kB / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3961, allocations: 8.031 kB / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.3961, allocations: 4.938 kB / 0.7254 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3963, allocations: 180.2 kB / 0.7256 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3963, allocations: 384 / 0.7256 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3963, allocations: 8.375 kB / 0.7256 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3965, allocations: 54.17 kB / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3965, allocations: 192 / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3965, allocations: 3.938 kB / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3965, allocations: 0 / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3966, allocations: 35.97 kB / 0.7257 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.3969, allocations: 252.9 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3971, allocations: 66.47 kB / 0.726 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.3972, allocations: 28.88 kB / 0.726 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.3972, allocations: 0 / 0.726 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3972, allocations: 34.56 kB / 0.7261 GB, free: 10.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.3972, allocations: 4 kB / 0.7261 GB, free: 10.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.02834/0.4256, allocations: 1.612 MB / 0.7277 GB, free: 9.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.4256, allocations: 51.41 kB / 0.7277 GB, free: 9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.4257, allocations: 117.8 kB / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.4258, allocations: 29.7 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.4258, allocations: 88.05 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.4259, allocations: 31.62 kB / 0.728 GB, free: 8.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.4261, allocations: 25.7 kB / 0.728 GB, free: 8.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.4262, allocations: 318.8 kB / 0.7283 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.4267, allocations: 143.9 kB / 0.7284 GB, free: 8.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.4272, allocations: 148.2 kB / 0.7286 GB, free: 8.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/0.4281, allocations: 292.9 kB / 0.7288 GB, free: 7.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4281, allocations: 4 kB / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00114/0.4292, allocations: 337.4 kB / 0.7292 GB, free: 7.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.4293, allocations: 4 kB / 0.7292 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4293, allocations: 4 kB / 0.7292 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.925e-06/0.4293, allocations: 3.984 kB / 0.7292 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.4307, allocations: 55.94 kB / 0.7292 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.4307, allocations: 4 kB / 0.7292 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.432, allocations: 47.94 kB / 0.7293 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.4321, allocations: 4 kB / 0.7293 GB, free: 7.332 MB / 0.545 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.0001613/0.4323, allocations: 117.8 kB / 0.7294 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.4323, allocations: 3.906 kB / 0.7294 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.4325, allocations: 20.8 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4325, allocations: 3.938 kB / 0.7294 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4325, allocations: 3.984 kB / 0.7294 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.4325, allocations: 0 / 0.7294 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005241/0.4378, allocations: 0.8414 MB / 0.7303 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4378, allocations: 3.984 kB / 0.7303 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.4388, allocations: 64 kB / 0.7303 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.4388, allocations: 0 / 0.7303 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.4389, allocations: 0 / 0.7303 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4389, allocations: 7.938 kB / 0.7303 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.4389, allocations: 3.938 kB / 0.7303 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008903/0.4398, allocations: 329 kB / 0.7306 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.4398, allocations: 89 kB / 0.7307 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.4399, allocations: 0 / 0.7307 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/0.4408, allocations: 43.89 kB / 0.7308 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-06/0.4409, allocations: 0 / 0.7308 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.4409, allocations: 15.98 kB / 0.7308 GB, free: 5.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.441, allocations: 95.31 kB / 0.7309 GB, free: 5.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.441, allocations: 0 / 0.7309 GB, free: 5.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003618/0.4413, allocations: 95.98 kB / 0.731 GB, free: 5.496 MB / 0.545 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.0001824/0.4415, allocations: 119.2 kB / 0.7311 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009147/0.4425, allocations: 243.9 kB / 0.7313 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4425, allocations: 0 / 0.7313 GB, free: 5.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.4429, allocations: 91.89 kB / 0.7314 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.4431, allocations: 8 kB / 0.7314 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.4455, allocations: 316.4 kB / 0.7317 GB, free: 4.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.4457, allocations: 0.6848 MB / 0.7324 GB, free: 3.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005013/0.4462, allocations: 55.98 kB / 0.7324 GB, free: 3.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.4467, allocations: 11.44 kB / 0.7324 GB, free: 3.918 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.4467, allocations: 3.938 kB / 0.7325 GB, free: 3.914 MB / 0.545 GB Notification: Performance of Templates: time 0.009612/0.4563, allocations: 8.286 MB / 0.7405 GB, free: 11.58 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)