Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7768/0.7768, allocations: 143.4 MB / 158.3 MB, free: 5.801 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.001321/0.001321, allocations: 183.5 kB / 191.5 MB, free: 5.766 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.468/1.468, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0009621/0.0009622, allocations: 92.27 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 278.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004534, allocations: 14.75 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2027, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.3761, allocations: 108.6 MB / 0.8798 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.3764, allocations: 77.98 kB / 0.8799 GB, free: 1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002603/0.379, allocations: 0.7818 MB / 0.8806 GB, free: 220 kB / 0.5417 GB Notification: Performance of FrontEnd: time 1.713e-06/0.379, allocations: 0 / 0.8806 GB, free: 220 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3791, allocations: 8 kB / 0.8806 GB, free: 212 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.4148/0.7939, allocations: 339.8 kB / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/0.794, allocations: 8.594 kB / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.379e-05/0.794, allocations: 2.875 kB / 0.881 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.7942, allocations: 161.9 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.7942, allocations: 5.953 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.7942, allocations: 1.812 kB / 0.8811 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.7945, allocations: 57.38 kB / 0.8812 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.7945, allocations: 4.422 kB / 0.8812 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.7945, allocations: 3.5 kB / 0.8812 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7945, allocations: 1.062 kB / 0.8812 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.7947, allocations: 50.25 kB / 0.8813 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.7952, allocations: 275.3 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.7954, allocations: 47.22 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.7954, allocations: 1.875 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.7954, allocations: 36.88 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7954, allocations: 1.406 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/0.7958, allocations: 108.8 kB / 0.8817 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.7959, allocations: 58.67 kB / 0.8818 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.7959, allocations: 101.7 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.796, allocations: 29.47 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.241e-05/0.796, allocations: 81.77 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.796, allocations: 10.03 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.796, allocations: 0.75 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.7961, allocations: 311.8 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/0.7962, allocations: 28.59 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.7963, allocations: 25.36 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.7964, allocations: 22.19 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7964, allocations: 4.609 kB / 0.8823 GB, free: 108 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000187/0.7966, allocations: 88.05 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7966, allocations: 5.188 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7966, allocations: 3.375 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.7966, allocations: 0 / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.7967, allocations: 8.812 kB / 0.8824 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7967, allocations: 7.469 kB / 0.8825 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.7968, allocations: 5.938 kB / 0.8825 GB, free: 108 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.7968, allocations: 3.156 kB / 0.8825 GB, free: 108 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 (2): * Single equations (assignments): 2 * 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 5.164e-05/0.7969, allocations: 115.6 kB / 0.8826 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.7969, allocations: 3.953 kB / 0.8826 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.7971, allocations: 94.81 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.7972, allocations: 0 / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7972, allocations: 2.953 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.7972, allocations: 1.172 kB / 0.8827 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.7973, allocations: 168.5 kB / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7973, allocations: 0 / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.7974, allocations: 20.5 kB / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.7974, allocations: 0 / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.7974, allocations: 0.6875 kB / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7974, allocations: 0 / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7974, allocations: 0 / 0.8828 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.7976, allocations: 176 kB / 0.883 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.7976, allocations: 79.61 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.7977, allocations: 7.422 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.7977, allocations: 6.375 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.7978, allocations: 9.953 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.7978, allocations: 0 / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.7978, allocations: 88.25 kB / 0.8832 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7978, allocations: 0 / 0.8832 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002185/0.7981, allocations: 16 kB / 0.8832 GB, free: 107.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001364/0.7982, allocations: 100.5 kB / 0.8833 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.7984, allocations: 58.52 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7984, allocations: 0 / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.744e-05/0.7985, allocations: 27.3 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.7987, allocations: 5.578 kB / 0.8834 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.799, allocations: 120.9 kB / 0.8835 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.7991, allocations: 0.6836 MB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.7991, allocations: 0.625 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.7992, allocations: 7.438 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.7992, allocations: 2.406 kB / 0.8842 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.002408/0.8016, allocations: 466.7 kB / 0.8846 GB, free: 106.3 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)