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.001368/0.001368, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001602/0.001602, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.24/1.24, 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.002058/0.002058, allocations: 290.6 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.8811/0.8811, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 98.81 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002019/0.149, allocations: 0.6304 MB / 0.6822 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004475/0.1494, allocations: 195.2 kB / 0.6824 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1495, allocations: 0 / 0.6824 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1495, allocations: 3.938 kB / 0.6824 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.1497, allocations: 15.92 kB / 0.6824 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1499, allocations: 75.75 kB / 0.6825 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.1499, allocations: 27.91 kB / 0.6825 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.15, allocations: 4 kB / 0.6825 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.15, allocations: 19.92 kB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.1501, allocations: 19.92 kB / 0.6826 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1501, allocations: 0 / 0.6826 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.1503, allocations: 111.7 kB / 0.6827 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.1503, allocations: 7.969 kB / 0.6827 GB, free: 6.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.1503, allocations: 19.81 kB / 0.6827 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1505, allocations: 95.81 kB / 0.6828 GB, free: 6.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1505, allocations: 0 / 0.6828 GB, free: 6.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1505, allocations: 4 kB / 0.6828 GB, free: 6.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1505, allocations: 0 / 0.6828 GB, free: 6.238 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.0004723/0.151, allocations: 371.4 kB / 0.6831 GB, free: 5.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.151, allocations: 8.031 kB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.1511, allocations: 4.844 kB / 0.6832 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1512, allocations: 180.2 kB / 0.6833 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-06/0.1512, allocations: 384 / 0.6833 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.1512, allocations: 4.375 kB / 0.6833 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1514, allocations: 54.23 kB / 0.6834 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1514, allocations: 4.188 kB / 0.6834 GB, free: 5.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1514, allocations: 7.938 kB / 0.6834 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1514, allocations: 0 / 0.6834 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1515, allocations: 31.95 kB / 0.6834 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.1518, allocations: 256.8 kB / 0.6837 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1519, allocations: 78.47 kB / 0.6837 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.152, allocations: 28.92 kB / 0.6838 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.152, allocations: 0 / 0.6838 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.1521, allocations: 30.56 kB / 0.6838 GB, free: 5.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1521, allocations: 3.938 kB / 0.6838 GB, free: 5.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02758/0.1797, allocations: 1.605 MB / 0.6854 GB, free: 3.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1797, allocations: 55.41 kB / 0.6854 GB, free: 3.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.1798, allocations: 113.8 kB / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.1799, allocations: 33.64 kB / 0.6856 GB, free: 3.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.18, allocations: 92.03 kB / 0.6857 GB, free: 3.098 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.18, allocations: 23.66 kB / 0.6857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.1802, allocations: 29.61 kB / 0.6857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.1803, allocations: 322.8 kB / 0.686 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.1808, allocations: 143.9 kB / 0.6862 GB, free: 2.574 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.1812, allocations: 139.9 kB / 0.6863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.1821, allocations: 301.3 kB / 0.6866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1821, allocations: 0 / 0.6866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001085/0.1832, allocations: 333.5 kB / 0.6869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1832, allocations: 4 kB / 0.6869 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1832, allocations: 4 kB / 0.6869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1833, allocations: 0 / 0.6869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.1848, allocations: 59.94 kB / 0.687 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1848, allocations: 4.016 kB / 0.687 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.1861, allocations: 47.94 kB / 0.687 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.1861, allocations: 11.98 kB / 0.687 GB, free: 1.68 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.0001499/0.1863, allocations: 109.8 kB / 0.6871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.1864, allocations: 11.91 kB / 0.6871 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1865, allocations: 24.36 kB / 0.6872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1865, allocations: 0 / 0.6872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1865, allocations: 0 / 0.6872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1865, allocations: 0 / 0.6872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.1917, allocations: 0.8454 MB / 0.688 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1918, allocations: 0 / 0.688 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.1928, allocations: 55.88 kB / 0.688 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1928, allocations: 4 kB / 0.688 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.1929, allocations: 4.062 kB / 0.688 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1929, allocations: 3.938 kB / 0.688 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1929, allocations: 15.98 kB / 0.6881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.1937, allocations: 309.2 kB / 0.6884 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.1938, allocations: 89 kB / 0.6884 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.1938, allocations: 4 kB / 0.6884 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/0.1948, allocations: 39.89 kB / 0.6885 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.1948, allocations: 15.92 kB / 0.6885 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.1949, allocations: 4 kB / 0.6885 GB, free: 44 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2438/0.4387, allocations: 92.34 kB / 0.6886 GB, free: 17.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4387, allocations: 0 / 0.6886 GB, free: 17.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005346/0.4393, allocations: 93.75 kB / 0.6887 GB, free: 17.95 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.0002171/0.4395, allocations: 122.2 kB / 0.6888 GB, free: 17.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.4404, allocations: 244.3 kB / 0.689 GB, free: 17.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4405, allocations: 3.031 kB / 0.689 GB, free: 17.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.4408, allocations: 94.8 kB / 0.6891 GB, free: 17.86 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.4411, allocations: 6.562 kB / 0.6891 GB, free: 17.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4436, allocations: 299.2 kB / 0.6894 GB, free: 17.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4437, allocations: 0.6848 MB / 0.6901 GB, free: 17.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.4441, allocations: 54.97 kB / 0.6901 GB, free: 17.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.4445, allocations: 15.05 kB / 0.6902 GB, free: 17.03 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4445, allocations: 0 / 0.6902 GB, free: 17.03 MB / 494.1 MB Notification: Performance of Templates: time 0.01427/0.4588, allocations: 8.751 MB / 0.6987 GB, free: 16.72 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)