Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001249/0.001249, allocations: 114 kB / 16.42 MB, free: 6.512 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.001184/0.001184, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 290.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8781/0.8781, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 95.86 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3673, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001501/0.3689, allocations: 0.6324 MB / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.3692, allocations: 199.1 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.3693, allocations: 0 / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.3693, allocations: 3.938 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3694, allocations: 7.922 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.3696, allocations: 71.75 kB / 0.768 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.3697, allocations: 35.92 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.3697, allocations: 0 / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.3698, allocations: 23.84 kB / 0.768 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.3698, allocations: 23.91 kB / 0.7681 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3699, allocations: 4 kB / 0.7681 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.37, allocations: 103.7 kB / 0.7682 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.37, allocations: 11.98 kB / 0.7682 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.3701, allocations: 19.8 kB / 0.7682 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3702, allocations: 99.81 kB / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3702, allocations: 0 / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3702, allocations: 0 / 0.7683 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3702, allocations: 0 / 0.7683 GB, free: 2.691 MB / 0.5294 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.000443/0.3707, allocations: 371 kB / 0.7686 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3707, allocations: 8.031 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.3708, allocations: 8.844 kB / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3709, allocations: 174.8 kB / 0.7688 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3709, allocations: 4.375 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3709, allocations: 4.375 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3711, allocations: 54.23 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3711, allocations: 192 / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3711, allocations: 11.92 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3711, allocations: 4 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3712, allocations: 31.97 kB / 0.7689 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.3715, allocations: 244.9 kB / 0.7692 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3717, allocations: 74.45 kB / 0.7692 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.3718, allocations: 24.94 kB / 0.7693 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.3718, allocations: 7.984 kB / 0.7693 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3718, allocations: 30.56 kB / 0.7693 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3718, allocations: 0 / 0.7693 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02764/0.3995, allocations: 1.616 MB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3995, allocations: 55.34 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.3996, allocations: 121.8 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/0.3997, allocations: 25.7 kB / 0.7711 GB, free: 15.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.3997, allocations: 88.12 kB / 0.7712 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3998, allocations: 27.56 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.4, allocations: 25.7 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.4001, allocations: 326.8 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004513/0.4006, allocations: 139.9 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.401, allocations: 148.2 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/0.402, allocations: 296.8 kB / 0.7721 GB, free: 14.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.402, allocations: 3.938 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001119/0.4031, allocations: 329.5 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4031, allocations: 8 kB / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4031, allocations: 0 / 0.7724 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4032, allocations: 4 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.4047, allocations: 63.88 kB / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4048, allocations: 0 / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4061, allocations: 47.94 kB / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.4062, allocations: 0 / 0.7725 GB, free: 14.14 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.0001773/0.4064, allocations: 124.2 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.4065, allocations: 4 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.4066, allocations: 16.38 kB / 0.7727 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4066, allocations: 4 kB / 0.7727 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4066, allocations: 0 / 0.7727 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.4067, allocations: 85.02 kB / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/0.4068, allocations: 0 / 0.7727 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.4082, allocations: 51.88 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.4083, allocations: 4 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002497/0.4108, allocations: 460.7 kB / 0.7732 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.4119, allocations: 0.4908 MB / 0.7737 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004536/0.4124, allocations: 147.9 kB / 0.7739 GB, free: 12.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.4125, allocations: 99.48 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Backend: time 3.4e-07/0.4125, allocations: 0 / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009971/0.4135, allocations: 254.2 kB / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005364/0.414, allocations: 0.5761 MB / 0.7748 GB, free: 11.75 MB / 0.545 GB Notification: Performance of Templates: time 0.01215/0.4262, allocations: 10.27 MB / 0.7848 GB, free: 1.422 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)