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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8279/0.8279, allocations: 143.4 MB / 158.3 MB, free: 5.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 183.5 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 88.31 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 271.2 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 15.81 kB / 0.6929 GB, free: 59.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1974, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.3703, allocations: 108.3 MB / 0.8795 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.3706, allocations: 77.92 kB / 0.8796 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.00442/0.3751, allocations: 1.242 MB / 0.8808 GB, free: 84 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3751, allocations: 4 kB / 0.8808 GB, free: 80 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3751, allocations: 0 / 0.8808 GB, free: 80 kB / 0.5417 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.409/0.7841, allocations: 360 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.246e-05/0.7842, allocations: 10.55 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.7842, allocations: 2.219 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.7844, allocations: 175 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.7844, allocations: 6.359 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.7845, allocations: 3.344 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.7847, allocations: 65.38 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.7847, allocations: 0 / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7847, allocations: 1.516 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.7848, allocations: 0.6562 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.785, allocations: 43.34 kB / 0.8814 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.7853, allocations: 249.6 kB / 0.8817 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.7856, allocations: 83.3 kB / 0.8817 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.7857, allocations: 0.7188 kB / 0.8817 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.7857, allocations: 31.34 kB / 0.8818 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/0.7857, allocations: 0.6562 kB / 0.8818 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.03582/0.8215, allocations: 1.766 MB / 0.8835 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.8216, allocations: 52.03 kB / 0.8835 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.8218, allocations: 112.7 kB / 0.8837 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/0.8219, allocations: 25.7 kB / 0.8837 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.8219, allocations: 86.45 kB / 0.8838 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.822, allocations: 30.52 kB / 0.8838 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.8221, allocations: 3.938 kB / 0.8838 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.8222, allocations: 322.7 kB / 0.8841 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.8228, allocations: 162 kB / 0.8843 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.8235, allocations: 160.3 kB / 0.8844 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.8241, allocations: 161.3 kB / 0.8846 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.8241, allocations: 0 / 0.8846 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001132/0.8252, allocations: 390 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.8252, allocations: 5.75 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8253, allocations: 0.8906 kB / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.8253, allocations: 0 / 0.8849 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.8268, allocations: 75.47 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8268, allocations: 3.984 kB / 0.885 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.8281, allocations: 58.5 kB / 0.8851 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/0.8281, allocations: 8.5 kB / 0.8851 GB, free: 107.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.8283, allocations: 120 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.8284, allocations: 2.656 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.8286, allocations: 26.48 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8286, allocations: 1.438 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8286, allocations: 0 / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.8286, allocations: 8.391 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.8344, allocations: 0.9126 MB / 0.8861 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.8344, allocations: 0 / 0.8861 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.8355, allocations: 68.92 kB / 0.8862 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8355, allocations: 0.75 kB / 0.8862 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.8356, allocations: 16.95 kB / 0.8862 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8356, allocations: 10.52 kB / 0.8862 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8356, allocations: 4.594 kB / 0.8862 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.8366, allocations: 390.5 kB / 0.8866 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.8367, allocations: 85.14 kB / 0.8867 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.8368, allocations: 7.406 kB / 0.8867 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8378, allocations: 45.23 kB / 0.8867 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.8378, allocations: 4.656 kB / 0.8867 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.8379, allocations: 8.859 kB / 0.8867 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.838, allocations: 103.7 kB / 0.8868 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.838, allocations: 0 / 0.8868 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004539/0.8384, allocations: 101.4 kB / 0.8869 GB, free: 106.6 MB / 0.5417 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 (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.0002706/0.8387, allocations: 121.5 kB / 0.8871 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009859/0.8397, allocations: 286.4 kB / 0.8873 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8397, allocations: 0 / 0.8873 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.8402, allocations: 116.3 kB / 0.8874 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.8404, allocations: 7.703 kB / 0.8874 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.8431, allocations: 357.1 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.8433, allocations: 0.6925 MB / 0.8885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005244/0.8438, allocations: 52.97 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.8443, allocations: 35.56 kB / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.173e-06/0.8443, allocations: 0 / 0.8885 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.01732/0.8617, allocations: 8.166 MB / 0.8965 GB, free: 102.8 MB / 0.5417 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)