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.001695/0.001695, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001928/0.001928, allocations: 189.2 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.464/1.464, 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.003484/0.003484, allocations: 299.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002801/0.002801, allocations: 99.83 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4397, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001664/0.4414, allocations: 0.6359 MB / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004376/0.4418, allocations: 199.2 kB / 0.7679 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.4418, allocations: 0 / 0.7679 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.4419, allocations: 3.938 kB / 0.7679 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.442, allocations: 15.92 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.4422, allocations: 71.75 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.4423, allocations: 31.91 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.4423, allocations: 7.938 kB / 0.768 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.4424, allocations: 11.98 kB / 0.768 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.4424, allocations: 23.91 kB / 0.7681 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4424, allocations: 3.938 kB / 0.7681 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.4426, allocations: 111.7 kB / 0.7682 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.4426, allocations: 0 / 0.7682 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.4427, allocations: 23.91 kB / 0.7682 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4428, allocations: 111 kB / 0.7683 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4428, allocations: 0 / 0.7683 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4429, allocations: 4 kB / 0.7683 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4429, allocations: 0 / 0.7683 GB, free: 2.699 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.000585/0.4434, allocations: 369.5 kB / 0.7687 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4435, allocations: 8.031 kB / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.4435, allocations: 0.9375 kB / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.4437, allocations: 172.3 kB / 0.7688 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.4437, allocations: 4.375 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4437, allocations: 8.359 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4438, allocations: 54.23 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4439, allocations: 192 / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4439, allocations: 3.938 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4439, allocations: 0 / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.444, allocations: 35.91 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.4443, allocations: 253 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.4445, allocations: 66.47 kB / 0.7692 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.4446, allocations: 20.94 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.4446, allocations: 4 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.4446, allocations: 34.56 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4446, allocations: 3.938 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.02938/0.474, allocations: 1.609 MB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.4741, allocations: 59.39 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.4742, allocations: 125.7 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/0.4743, allocations: 29.7 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.4744, allocations: 84.14 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.4745, allocations: 27.73 kB / 0.7712 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4747, allocations: 29.7 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4748, allocations: 318.8 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.4753, allocations: 143.9 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.4758, allocations: 139.9 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4769, allocations: 296.7 kB / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4769, allocations: 0 / 0.7721 GB, free: 14.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001271/0.4781, allocations: 345.4 kB / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4782, allocations: 4 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4782, allocations: 0.6562 kB / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.4782, allocations: 0 / 0.7724 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.4799, allocations: 63.92 kB / 0.7725 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4799, allocations: 80 / 0.7725 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4813, allocations: 51.95 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.4814, allocations: 7.969 kB / 0.7725 GB, free: 14.15 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.0002098/0.4816, allocations: 121.1 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.4817, allocations: 8.359 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.4818, allocations: 16.38 kB / 0.7727 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4818, allocations: 4 kB / 0.7727 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4818, allocations: 0 / 0.7727 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4818, allocations: 3.984 kB / 0.7727 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/0.488, allocations: 0.8568 MB / 0.7735 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.488, allocations: 0 / 0.7735 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.4892, allocations: 56 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4892, allocations: 0 / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.4892, allocations: 4 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4892, allocations: 3.938 kB / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4892, allocations: 0 / 0.7736 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009771/0.4902, allocations: 325.1 kB / 0.7739 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.4903, allocations: 85.06 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.4903, allocations: 3.984 kB / 0.774 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4914, allocations: 47.89 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.4915, allocations: 4 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.4915, allocations: 4 kB / 0.774 GB, free: 12.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.419e-05/0.4916, allocations: 95.27 kB / 0.7741 GB, free: 12.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4916, allocations: 0 / 0.7741 GB, free: 12.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004451/0.492, allocations: 99.92 kB / 0.7742 GB, free: 12.32 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.0002296/0.4922, allocations: 115.1 kB / 0.7743 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.4932, allocations: 247.8 kB / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4933, allocations: 0 / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.4937, allocations: 95.83 kB / 0.7746 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.494, allocations: 11.94 kB / 0.7747 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.4968, allocations: 298.6 kB / 0.7749 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.4972, allocations: 0.6922 MB / 0.7756 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004453/0.4976, allocations: 52 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.4981, allocations: 15.89 kB / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.4981, allocations: 0 / 0.7757 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Templates: time 0.0141/0.5122, allocations: 8.748 MB / 0.7842 GB, free: 1.953 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)