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.0007948/0.0007948, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004816/0.004816, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 266.4 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9258/0.9258, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 15.75 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007967/0.1518, allocations: 367.6 kB / 0.6855 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000494/0.1523, allocations: 189.3 kB / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.1523, allocations: 0 / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.1524, allocations: 0 / 0.6857 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1525, allocations: 19.92 kB / 0.6857 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1527, allocations: 60.39 kB / 0.6857 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.846e-05/0.1528, allocations: 28.64 kB / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1528, allocations: 0 / 0.6858 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.35e-05/0.1528, allocations: 21.11 kB / 0.6858 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.1529, allocations: 23.89 kB / 0.6858 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.153, allocations: 4 kB / 0.6858 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1531, allocations: 105.4 kB / 0.6859 GB, free: 14.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.1532, allocations: 7.984 kB / 0.6859 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1532, allocations: 41.56 kB / 0.686 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1534, allocations: 99.77 kB / 0.6861 GB, free: 14.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1534, allocations: 4 kB / 0.6861 GB, free: 14.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1534, allocations: 4.609 kB / 0.6861 GB, free: 14.1 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1534, allocations: 1.562 kB / 0.6861 GB, free: 14.1 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.000491/0.1539, allocations: 360.8 kB / 0.6864 GB, free: 13.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1539, allocations: 12.03 kB / 0.6864 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.154, allocations: 4.125 kB / 0.6864 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1541, allocations: 184.2 kB / 0.6866 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1541, allocations: 4.375 kB / 0.6866 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1542, allocations: 384 / 0.6866 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1543, allocations: 58.23 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1543, allocations: 192 / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1543, allocations: 5.281 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1544, allocations: 0 / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1545, allocations: 45.48 kB / 0.6867 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.1548, allocations: 249.7 kB / 0.687 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.155, allocations: 92.62 kB / 0.687 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.755e-05/0.1551, allocations: 24.94 kB / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1551, allocations: 0 / 0.6871 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1552, allocations: 38.5 kB / 0.6871 GB, free: 12.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1552, allocations: 4 kB / 0.6871 GB, free: 12.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.03183/0.187, allocations: 1.757 MB / 0.6888 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.1871, allocations: 55.34 kB / 0.6889 GB, free: 11.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1872, allocations: 117.8 kB / 0.689 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.1873, allocations: 25.7 kB / 0.689 GB, free: 10.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.1873, allocations: 88.05 kB / 0.6891 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.1874, allocations: 31.64 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.1875, allocations: 17.72 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.1876, allocations: 322.7 kB / 0.6895 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.1881, allocations: 159.9 kB / 0.6896 GB, free: 10.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.1887, allocations: 159.9 kB / 0.6898 GB, free: 10.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.1897, allocations: 332.7 kB / 0.6901 GB, free: 9.789 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1897, allocations: 0 / 0.6901 GB, free: 9.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001248/0.191, allocations: 390.3 kB / 0.6904 GB, free: 9.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.191, allocations: 6.031 kB / 0.6905 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.191, allocations: 4 kB / 0.6905 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.191, allocations: 0 / 0.6905 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.1928, allocations: 75.89 kB / 0.6905 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1928, allocations: 0 / 0.6905 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.1944, allocations: 56.05 kB / 0.6906 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/0.1945, allocations: 15.91 kB / 0.6906 GB, free: 9.25 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.0002029/0.1947, allocations: 119 kB / 0.6907 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.953e-05/0.1948, allocations: 11.89 kB / 0.6907 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.1949, allocations: 16.38 kB / 0.6907 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1949, allocations: 4 kB / 0.6907 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1949, allocations: 0 / 0.6907 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.195, allocations: 4 kB / 0.6907 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/0.2015, allocations: 0.9118 MB / 0.6916 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.2015, allocations: 4 kB / 0.6916 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.2028, allocations: 71.83 kB / 0.6917 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/0.2028, allocations: 4 kB / 0.6917 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.2029, allocations: 8.047 kB / 0.6917 GB, free: 8.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.2029, allocations: 11.88 kB / 0.6917 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2029, allocations: 0 / 0.6917 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009958/0.2039, allocations: 365 kB / 0.6921 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.2039, allocations: 85.02 kB / 0.6922 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.204, allocations: 4 kB / 0.6922 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.2053, allocations: 51.89 kB / 0.6922 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.2053, allocations: 11.92 kB / 0.6922 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.462e-05/0.2053, allocations: 7.984 kB / 0.6922 GB, free: 7.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.2054, allocations: 95.27 kB / 0.6923 GB, free: 7.371 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2054, allocations: 0 / 0.6923 GB, free: 7.371 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.2059, allocations: 96 kB / 0.6924 GB, free: 7.277 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.0002447/0.2061, allocations: 119.2 kB / 0.6925 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.2071, allocations: 283.8 kB / 0.6928 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.2071, allocations: 4 kB / 0.6928 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.2076, allocations: 120 kB / 0.6929 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.2079, allocations: 8 kB / 0.6929 GB, free: 6.746 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.2109, allocations: 360.2 kB / 0.6933 GB, free: 6.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.2112, allocations: 0.6853 MB / 0.6939 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004958/0.2117, allocations: 55.98 kB / 0.694 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004695/0.2122, allocations: 27.38 kB / 0.694 GB, free: 5.57 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2122, allocations: 4 kB / 0.694 GB, free: 5.566 MB / 494.1 MB Notification: Performance of Templates: time 0.01199/0.2242, allocations: 8.416 MB / 0.7022 GB, free: 13.11 MB / 0.4981 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)