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.0007555/0.0007556, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008329/0.0008329, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 274.5 kB / 291.4 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9676/0.9676, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004085, allocations: 18.28 kB / 0.598 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1549, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007153/0.1556, allocations: 355.7 kB / 0.6848 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.156, allocations: 180.2 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.1561, allocations: 0 / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.1561, allocations: 5.688 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.1562, allocations: 4 kB / 0.685 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.1564, allocations: 67.81 kB / 0.6851 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.941e-05/0.1565, allocations: 30.48 kB / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.1566, allocations: 0 / 0.6851 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.448e-05/0.1566, allocations: 11.98 kB / 0.6851 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.1567, allocations: 19.91 kB / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1567, allocations: 4 kB / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1569, allocations: 103.7 kB / 0.6852 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1569, allocations: 11.94 kB / 0.6853 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.157, allocations: 26.33 kB / 0.6853 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1571, allocations: 64.47 kB / 0.6853 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1571, allocations: 0 / 0.6853 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1571, allocations: 5.172 kB / 0.6853 GB, free: 14.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.1571, allocations: 0 / 0.6853 GB, free: 14.59 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.0004601/0.1576, allocations: 366.7 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1576, allocations: 12.03 kB / 0.6857 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.1576, allocations: 0 / 0.6857 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.1578, allocations: 182.9 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1578, allocations: 4 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1578, allocations: 0.9062 kB / 0.6859 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.158, allocations: 57.11 kB / 0.6859 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.158, allocations: 0 / 0.6859 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.158, allocations: 4 kB / 0.6859 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.158, allocations: 0 / 0.6859 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.1581, allocations: 44.55 kB / 0.686 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.1584, allocations: 253.5 kB / 0.6862 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.1586, allocations: 86.38 kB / 0.6863 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.1586, allocations: 30.66 kB / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1587, allocations: 0 / 0.6863 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1587, allocations: 31.22 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.1587, allocations: 1.844 kB / 0.6864 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.03098/0.1897, allocations: 1.768 MB / 0.6881 GB, free: 11.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.1898, allocations: 55.41 kB / 0.6881 GB, free: 11.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.19, allocations: 113.8 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/0.1901, allocations: 25.7 kB / 0.6883 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.1902, allocations: 88.14 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1903, allocations: 31.55 kB / 0.6884 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.1903, allocations: 3.938 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1905, allocations: 322.8 kB / 0.6887 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.1912, allocations: 155.9 kB / 0.6889 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006198/0.1918, allocations: 159.9 kB / 0.689 GB, free: 10.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.1925, allocations: 163.9 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1925, allocations: 4 kB / 0.6892 GB, free: 10.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001674/0.1942, allocations: 381.9 kB / 0.6895 GB, free: 10.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.1943, allocations: 7.984 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1943, allocations: 0 / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.1943, allocations: 3.953 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.1958, allocations: 83.98 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1959, allocations: 3.938 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.197, allocations: 55.89 kB / 0.6897 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.1971, allocations: 15.97 kB / 0.6897 GB, free: 9.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.1973, allocations: 110.4 kB / 0.6898 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.1974, allocations: 4 kB / 0.6898 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1975, allocations: 20.38 kB / 0.6898 GB, free: 9.789 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1975, allocations: 7.953 kB / 0.6898 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1975, allocations: 0 / 0.6898 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1975, allocations: 432 / 0.6898 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005132/0.2027, allocations: 0.9156 MB / 0.6907 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2027, allocations: 0 / 0.6907 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.2037, allocations: 75.95 kB / 0.6908 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2037, allocations: 0 / 0.6908 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.2037, allocations: 7.984 kB / 0.6908 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.2038, allocations: 3.938 kB / 0.6908 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2038, allocations: 3.984 kB / 0.6908 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.2047, allocations: 377 kB / 0.6912 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.2047, allocations: 81.06 kB / 0.6913 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.2048, allocations: 4 kB / 0.6913 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/0.2057, allocations: 47.95 kB / 0.6913 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.2057, allocations: 3.984 kB / 0.6913 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.2058, allocations: 7.984 kB / 0.6913 GB, free: 8.164 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.2059, allocations: 103.2 kB / 0.6914 GB, free: 8.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2059, allocations: 0 / 0.6914 GB, free: 8.062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.2063, allocations: 96 kB / 0.6915 GB, free: 7.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002382/0.2065, allocations: 115.2 kB / 0.6916 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.2075, allocations: 283.8 kB / 0.6919 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2075, allocations: 0 / 0.6919 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.2079, allocations: 115.9 kB / 0.692 GB, free: 7.457 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.2082, allocations: 12.42 kB / 0.692 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.2106, allocations: 368.3 kB / 0.6924 GB, free: 7.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2108, allocations: 0.6809 MB / 0.693 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005095/0.2113, allocations: 55.98 kB / 0.6931 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.2117, allocations: 35.38 kB / 0.6931 GB, free: 6.254 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.2117, allocations: 3.938 kB / 0.6931 GB, free: 6.25 MB / 494.1 MB Notification: Performance of Templates: time 0.01227/0.224, allocations: 8.161 MB / 0.7011 GB, free: 14.04 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)