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.001018/0.001018, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001042/0.001042, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 287.7 kB / 291.4 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.8993/0.8993, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001609, allocations: 94.16 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1464, allocations: 86.97 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001662/0.1481, allocations: 0.6304 MB / 0.6822 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003481/0.1484, allocations: 191.2 kB / 0.6824 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.1485, allocations: 4 kB / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.055e-05/0.1485, allocations: 0 / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.1486, allocations: 11.92 kB / 0.6824 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.1488, allocations: 75.75 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.1489, allocations: 31.84 kB / 0.6825 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.1489, allocations: 4 kB / 0.6825 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.892e-05/0.149, allocations: 15.92 kB / 0.6825 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.149, allocations: 19.92 kB / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1491, allocations: 4 kB / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1492, allocations: 107.7 kB / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.1492, allocations: 15.97 kB / 0.6827 GB, free: 6.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.1493, allocations: 7.875 kB / 0.6827 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1494, allocations: 111.8 kB / 0.6828 GB, free: 6.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1494, allocations: 0 / 0.6828 GB, free: 6.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1494, allocations: 0 / 0.6828 GB, free: 6.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1494, allocations: 0 / 0.6828 GB, free: 6.203 MB / 494.1 MB 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.0004571/0.1499, allocations: 367.3 kB / 0.6831 GB, free: 5.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1499, allocations: 8.031 kB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.15, allocations: 8.844 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1501, allocations: 172.4 kB / 0.6833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1501, allocations: 4.375 kB / 0.6833 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1502, allocations: 8.375 kB / 0.6833 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1503, allocations: 54.17 kB / 0.6834 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1503, allocations: 192 / 0.6834 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.1503, allocations: 3.938 kB / 0.6834 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1503, allocations: 4 kB / 0.6834 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1505, allocations: 39.94 kB / 0.6834 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1507, allocations: 256.8 kB / 0.6837 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1509, allocations: 66.47 kB / 0.6837 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.151, allocations: 28.88 kB / 0.6838 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.151, allocations: 0 / 0.6838 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1511, allocations: 42.55 kB / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1511, allocations: 3.938 kB / 0.6838 GB, free: 4.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02514/0.1762, allocations: 1.601 MB / 0.6854 GB, free: 3.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1763, allocations: 51.41 kB / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1764, allocations: 121.8 kB / 0.6855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.1764, allocations: 25.7 kB / 0.6856 GB, free: 3.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.1765, allocations: 92.03 kB / 0.6857 GB, free: 3.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.1766, allocations: 23.66 kB / 0.6857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.1768, allocations: 29.61 kB / 0.6857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1769, allocations: 322.8 kB / 0.686 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.1773, allocations: 135.9 kB / 0.6861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.1778, allocations: 151.9 kB / 0.6863 GB, free: 2.402 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/0.1787, allocations: 297.3 kB / 0.6866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1787, allocations: 0 / 0.6866 GB, free: 2.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001096/0.1798, allocations: 333.5 kB / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1798, allocations: 10.03 kB / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1798, allocations: 0 / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1798, allocations: 0 / 0.6869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.1812, allocations: 63.94 kB / 0.687 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1812, allocations: 0 / 0.687 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.1823, allocations: 51.94 kB / 0.687 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.1824, allocations: 0 / 0.687 GB, free: 1.656 MB / 494.1 MB 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.0001583/0.1826, allocations: 117.8 kB / 0.6871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.1827, allocations: 11.89 kB / 0.6871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1828, allocations: 20.31 kB / 0.6872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1828, allocations: 0 / 0.6872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1828, allocations: 0 / 0.6872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1828, allocations: 4 kB / 0.6872 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004976/0.1878, allocations: 0.8415 MB / 0.688 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.1878, allocations: 4 kB / 0.688 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/0.1888, allocations: 56 kB / 0.688 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1888, allocations: 0 / 0.688 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/0.1888, allocations: 11.98 kB / 0.688 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1888, allocations: 3.938 kB / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1889, allocations: 7.875 kB / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000847/0.1897, allocations: 313.2 kB / 0.6884 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.1898, allocations: 85.02 kB / 0.6884 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1898, allocations: 4 kB / 0.6884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008562/0.1907, allocations: 43.89 kB / 0.6885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.1907, allocations: 3.984 kB / 0.6885 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/0.1908, allocations: 8 kB / 0.6885 GB, free: 20 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2656/0.4564, allocations: 96.55 kB / 0.6886 GB, free: 17.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4564, allocations: 0 / 0.6886 GB, free: 17.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005369/0.4569, allocations: 96.78 kB / 0.6887 GB, free: 17.93 MB / 494.1 MB 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.000213/0.4572, allocations: 120 kB / 0.6888 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.4582, allocations: 246.3 kB / 0.689 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4582, allocations: 1.75 kB / 0.689 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.4586, allocations: 89.73 kB / 0.6891 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.4589, allocations: 11.16 kB / 0.6891 GB, free: 17.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.4614, allocations: 299.8 kB / 0.6894 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.4616, allocations: 0.6854 MB / 0.6901 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.462, allocations: 53.27 kB / 0.6901 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.4624, allocations: 16.27 kB / 0.6901 GB, free: 17.01 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4624, allocations: 0 / 0.6901 GB, free: 17.01 MB / 494.1 MB Notification: Performance of Templates: time 0.01683/0.4793, allocations: 8.752 MB / 0.6987 GB, free: 16.7 MB / 494.1 MB 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)