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.001146/0.001146, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001205/0.001205, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.276/1.276, 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.001958/0.001958, allocations: 284.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 99.84 kB / 0.6822 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4164, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001509/0.418, allocations: 0.6285 MB / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004216/0.4184, allocations: 203.1 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.4185, allocations: 0 / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.4185, allocations: 7.938 kB / 0.7679 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.4186, allocations: 11.92 kB / 0.7679 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.4188, allocations: 71.81 kB / 0.768 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.4189, allocations: 31.86 kB / 0.768 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.419, allocations: 4 kB / 0.768 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.811e-05/0.419, allocations: 11.98 kB / 0.768 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.4191, allocations: 31.83 kB / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.4191, allocations: 0 / 0.7681 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.4192, allocations: 103.7 kB / 0.7682 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.4193, allocations: 11.98 kB / 0.7682 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.4193, allocations: 15.88 kB / 0.7682 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.4194, allocations: 103.8 kB / 0.7683 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4194, allocations: 0 / 0.7683 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4195, allocations: 0 / 0.7683 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.4195, allocations: 3.938 kB / 0.7683 GB, free: 2.676 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.0004709/0.4199, allocations: 363.1 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.42, allocations: 8.031 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.42, allocations: 12.84 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.4202, allocations: 186.7 kB / 0.7688 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4202, allocations: 384 / 0.7688 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.4202, allocations: 4.375 kB / 0.7688 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4203, allocations: 54.23 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4204, allocations: 192 / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4204, allocations: 7.922 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4204, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.4205, allocations: 39.97 kB / 0.7689 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.4208, allocations: 241 kB / 0.7692 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.421, allocations: 78.39 kB / 0.7692 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.4211, allocations: 20.94 kB / 0.7693 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.4211, allocations: 7.984 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.4211, allocations: 34.56 kB / 0.7693 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4211, allocations: 4 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02766/0.4488, allocations: 1.605 MB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4489, allocations: 55.41 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.449, allocations: 113.8 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.4491, allocations: 29.7 kB / 0.7711 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.4491, allocations: 92.06 kB / 0.7712 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.4492, allocations: 27.56 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.4494, allocations: 25.7 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4495, allocations: 322.8 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.45, allocations: 143.9 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000436/0.4504, allocations: 148.2 kB / 0.7718 GB, free: 14.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009071/0.4513, allocations: 292.9 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4513, allocations: 4 kB / 0.7721 GB, free: 14.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001084/0.4524, allocations: 337.4 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4525, allocations: 4 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4525, allocations: 4 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4525, allocations: 0 / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.4541, allocations: 55.94 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4541, allocations: 11.98 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.4555, allocations: 43.89 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.4555, allocations: 4 kB / 0.7725 GB, free: 14.12 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.0001872/0.4557, allocations: 124.2 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/0.4558, allocations: 0 / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.4559, allocations: 20.38 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4559, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4559, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.456, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.4616, allocations: 0.849 MB / 0.7735 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4617, allocations: 4.062 kB / 0.7735 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.4628, allocations: 59.88 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4628, allocations: 0 / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.4629, allocations: 3.984 kB / 0.7735 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.4629, allocations: 12 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4629, allocations: 0 / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/0.4638, allocations: 321.1 kB / 0.7739 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4638, allocations: 77.11 kB / 0.7739 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.4639, allocations: 4 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.465, allocations: 43.89 kB / 0.774 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.465, allocations: 15.92 kB / 0.774 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.465, allocations: 4 kB / 0.774 GB, free: 12.49 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.4651, allocations: 95.3 kB / 0.7741 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4651, allocations: 4 kB / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003812/0.4655, allocations: 92 kB / 0.7742 GB, free: 12.3 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.0002222/0.4657, allocations: 127.2 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009185/0.4666, allocations: 243.8 kB / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4667, allocations: 0 / 0.7745 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.467, allocations: 95.88 kB / 0.7746 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.4673, allocations: 10.23 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.47, allocations: 320.4 kB / 0.7749 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.4702, allocations: 0.6922 MB / 0.7756 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/0.4707, allocations: 11.44 kB / 0.7756 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.4707, allocations: 0 / 0.7756 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Templates: time 0.006635/0.4773, allocations: 5.064 MB / 0.7806 GB, free: 5.656 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)