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.001266/0.001266, allocations: 103.8 kB / 16.41 MB, free: 5.973 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.001374/0.001374, allocations: 194.8 kB / 17.34 MB, free: 5.594 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002206, allocations: 280.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8996/0.8996, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001693, allocations: 95.84 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4214, allocations: 86.98 MB / 0.7671 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001593/0.423, allocations: 0.6291 MB / 0.7677 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000401/0.4234, allocations: 199.1 kB / 0.7679 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.4234, allocations: 8 kB / 0.7679 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.4235, allocations: 3.938 kB / 0.7679 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.4236, allocations: 3.938 kB / 0.7679 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.4238, allocations: 67.81 kB / 0.768 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.4239, allocations: 35.91 kB / 0.768 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.4239, allocations: 15.86 kB / 0.768 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.424, allocations: 4 kB / 0.768 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.4241, allocations: 27.91 kB / 0.7681 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.4241, allocations: 7.938 kB / 0.7681 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.4242, allocations: 107.7 kB / 0.7682 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.4243, allocations: 11.98 kB / 0.7682 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.4243, allocations: 15.86 kB / 0.7682 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.4245, allocations: 103.8 kB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4245, allocations: 0 / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4245, allocations: 0 / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.4245, allocations: 0 / 0.7683 GB, free: 2.559 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.0004752/0.425, allocations: 363.1 kB / 0.7686 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.425, allocations: 12.03 kB / 0.7687 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.4251, allocations: 8.844 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.4252, allocations: 182.8 kB / 0.7688 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.4252, allocations: 384 / 0.7688 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.4252, allocations: 4.375 kB / 0.7688 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.4254, allocations: 54.23 kB / 0.7689 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.4254, allocations: 192 / 0.7689 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4254, allocations: 3.938 kB / 0.7689 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.4254, allocations: 4 kB / 0.7689 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.4255, allocations: 35.97 kB / 0.7689 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.4258, allocations: 245 kB / 0.7692 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.426, allocations: 74.41 kB / 0.7692 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.521e-05/0.4261, allocations: 24.94 kB / 0.7693 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.4261, allocations: 0 / 0.7693 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.4261, allocations: 38.56 kB / 0.7693 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4261, allocations: 0 / 0.7693 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02632/0.4524, allocations: 1.62 MB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4525, allocations: 51.41 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.4526, allocations: 117.8 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.4527, allocations: 26.08 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.4527, allocations: 84.14 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.4528, allocations: 31.55 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.453, allocations: 29.64 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.4531, allocations: 322.7 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.4536, allocations: 147.9 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.454, allocations: 139.9 kB / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/0.4549, allocations: 296.8 kB / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4549, allocations: 0 / 0.7721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001088/0.456, allocations: 337.4 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4561, allocations: 8 kB / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4561, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4561, allocations: 0 / 0.7724 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.4576, allocations: 67.92 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4576, allocations: 0 / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.4589, allocations: 43.95 kB / 0.7725 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.459, allocations: 3.984 kB / 0.7725 GB, free: 14.01 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.0001648/0.4592, allocations: 124.1 kB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.4592, allocations: 4 kB / 0.7726 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.4594, allocations: 16.38 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4594, allocations: 0 / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4594, allocations: 0 / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4594, allocations: 11.98 kB / 0.7727 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/0.4649, allocations: 0.8451 MB / 0.7735 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4649, allocations: 4 kB / 0.7735 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.466, allocations: 56.16 kB / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.466, allocations: 0 / 0.7735 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.4661, allocations: 4 kB / 0.7735 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4661, allocations: 7.875 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4661, allocations: 4.062 kB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.4669, allocations: 321.1 kB / 0.7739 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.467, allocations: 81.11 kB / 0.7739 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.4671, allocations: 3.984 kB / 0.7739 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4681, allocations: 47.89 kB / 0.774 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.4681, allocations: 3.938 kB / 0.774 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.4682, allocations: 11.98 kB / 0.774 GB, free: 12.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.4682, allocations: 91.28 kB / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4682, allocations: 0 / 0.7741 GB, free: 12.28 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003646/0.4686, allocations: 91.98 kB / 0.7742 GB, free: 12.19 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.000216/0.4688, allocations: 123.2 kB / 0.7743 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008963/0.4697, allocations: 247.8 kB / 0.7745 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4697, allocations: 0 / 0.7745 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.4701, allocations: 95.83 kB / 0.7746 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.4704, allocations: 8.75 kB / 0.7746 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.473, allocations: 328.3 kB / 0.7749 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.4733, allocations: 0.6883 MB / 0.7756 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.4737, allocations: 15.42 kB / 0.7756 GB, free: 10.63 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4737, allocations: 4 kB / 0.7756 GB, free: 10.62 MB / 0.545 GB Notification: Performance of Templates: time 0.006769/0.4805, allocations: 5.058 MB / 0.7806 GB, free: 5.539 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)