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.001276/0.001276, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001265/0.001265, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002511/0.002511, allocations: 287.3 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.167/1.167, allocations: 178.6 MB / 0.5079 GB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002907/0.002907, allocations: 107.8 kB / 0.6071 GB, free: 9.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1772, allocations: 89.13 MB / 0.6942 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001923/0.1792, allocations: 0.6313 MB / 0.6948 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.1796, allocations: 191.2 kB / 0.695 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.1797, allocations: 4 kB / 0.695 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.1797, allocations: 7.938 kB / 0.695 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1799, allocations: 11.92 kB / 0.695 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1801, allocations: 71.75 kB / 0.6951 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.073e-05/0.1802, allocations: 23.92 kB / 0.6951 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1802, allocations: 4 kB / 0.6951 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.1802, allocations: 19.91 kB / 0.6951 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.587e-05/0.1803, allocations: 19.92 kB / 0.6951 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1803, allocations: 0 / 0.6951 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1805, allocations: 115.7 kB / 0.6952 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.1805, allocations: 7.922 kB / 0.6952 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.1806, allocations: 15.92 kB / 0.6953 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.1808, allocations: 111.8 kB / 0.6954 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1808, allocations: 0 / 0.6954 GB, free: 14.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1808, allocations: 0 / 0.6954 GB, free: 14.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1808, allocations: 0 / 0.6954 GB, free: 14.86 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.0005399/0.1813, allocations: 363.7 kB / 0.6957 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1814, allocations: 12.02 kB / 0.6957 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1814, allocations: 12.84 kB / 0.6957 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.1816, allocations: 164.4 kB / 0.6959 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1816, allocations: 384 / 0.6959 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1816, allocations: 4.375 kB / 0.6959 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1818, allocations: 58.22 kB / 0.6959 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1818, allocations: 8.031 kB / 0.696 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1818, allocations: 3.938 kB / 0.696 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.1818, allocations: 4 kB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.182, allocations: 39.91 kB / 0.696 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1823, allocations: 248.9 kB / 0.6962 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1825, allocations: 66.47 kB / 0.6963 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.1826, allocations: 32.92 kB / 0.6963 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1826, allocations: 0 / 0.6963 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1827, allocations: 38.5 kB / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1827, allocations: 0 / 0.6964 GB, free: 13.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.02747/0.2101, allocations: 1.609 MB / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.2102, allocations: 59.41 kB / 0.698 GB, free: 11.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2103, allocations: 121.8 kB / 0.6981 GB, free: 11.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.2104, allocations: 29.7 kB / 0.6981 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2105, allocations: 84.14 kB / 0.6982 GB, free: 11.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.012e-05/0.2106, allocations: 27.55 kB / 0.6983 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.2108, allocations: 25.72 kB / 0.6983 GB, free: 11.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2109, allocations: 318.8 kB / 0.6986 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.2114, allocations: 143.9 kB / 0.6987 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.2119, allocations: 143.9 kB / 0.6989 GB, free: 11.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000982/0.2129, allocations: 296.7 kB / 0.6991 GB, free: 10.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2129, allocations: 4 kB / 0.6991 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00117/0.2141, allocations: 329.5 kB / 0.6995 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2141, allocations: 8.656 kB / 0.6995 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2141, allocations: 0 / 0.6995 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2141, allocations: 0 / 0.6995 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.2157, allocations: 67.92 kB / 0.6995 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2157, allocations: 4.062 kB / 0.6995 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.217, allocations: 47.95 kB / 0.6996 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/0.2171, allocations: 3.984 kB / 0.6996 GB, free: 10.3 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.0001975/0.2173, allocations: 125 kB / 0.6997 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.116e-05/0.2174, allocations: 7.906 kB / 0.6997 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.2175, allocations: 16.38 kB / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2175, allocations: 0 / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2176, allocations: 0 / 0.6997 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2176, allocations: 11.94 kB / 0.6997 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.2232, allocations: 0.8374 MB / 0.7006 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.2233, allocations: 7.984 kB / 0.7006 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.2244, allocations: 47.95 kB / 0.7006 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.2244, allocations: 3.984 kB / 0.7006 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.2245, allocations: 4 kB / 0.7006 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2245, allocations: 3.938 kB / 0.7006 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2245, allocations: 0 / 0.7006 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/0.2254, allocations: 327 kB / 0.7009 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.2255, allocations: 85.02 kB / 0.701 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.2256, allocations: 4.062 kB / 0.701 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.2266, allocations: 55.88 kB / 0.7011 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.2267, allocations: 0 / 0.7011 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.2267, allocations: 4 kB / 0.7011 GB, free: 8.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.219e-05/0.2268, allocations: 95.27 kB / 0.7012 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2268, allocations: 0 / 0.7012 GB, free: 8.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004208/0.2272, allocations: 92 kB / 0.7012 GB, free: 8.48 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.00023/0.2275, allocations: 119.2 kB / 0.7014 GB, free: 8.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.2285, allocations: 247.9 kB / 0.7016 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.2285, allocations: 0 / 0.7016 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.2289, allocations: 99.88 kB / 0.7017 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.2292, allocations: 5.875 kB / 0.7017 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.232, allocations: 324.2 kB / 0.702 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2323, allocations: 0.6963 MB / 0.7027 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.2328, allocations: 19.89 kB / 0.7027 GB, free: 6.914 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.2328, allocations: 4 kB / 0.7027 GB, free: 6.91 MB / 0.545 GB Notification: Performance of Templates: time 0.008262/0.241, allocations: 5.047 MB / 0.7076 GB, free: 1.832 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)