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.7961/0.7961, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.1 kB / 187.3 MB, free: 11.9 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.422/1.422, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009091/0.0009091, allocations: 97.38 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001804/0.001804, allocations: 268.9 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.853e-05/5.893e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4609, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.5879, allocations: 108.6 MB / 0.8703 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5882, allocations: 80.55 kB / 0.8704 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002501/0.5908, allocations: 0.7841 MB / 0.8711 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5908, allocations: 0 / 0.8711 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.5908, allocations: 0.7812 kB / 0.8711 GB, free: 15.13 MB / 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.0003967/0.5912, allocations: 345.1 kB / 0.8715 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5913, allocations: 8.031 kB / 0.8715 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.5913, allocations: 3.812 kB / 0.8715 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.5915, allocations: 167 kB / 0.8716 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.5915, allocations: 7.953 kB / 0.8716 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.5915, allocations: 3.984 kB / 0.8716 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.5916, allocations: 37.7 kB / 0.8717 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5916, allocations: 0 / 0.8717 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5916, allocations: 0 / 0.8717 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5917, allocations: 0 / 0.8717 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.5917, allocations: 19.98 kB / 0.8717 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.5922, allocations: 275.7 kB / 0.872 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.482e-05/0.5923, allocations: 26.58 kB / 0.872 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.5923, allocations: 18.53 kB / 0.872 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.5924, allocations: 0 / 0.872 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.5924, allocations: 35.72 kB / 0.872 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.5924, allocations: 4 kB / 0.872 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001813/0.5926, allocations: 49.62 kB / 0.8721 GB, free: 14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5927, allocations: 55.41 kB / 0.8721 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/0.5927, allocations: 97 kB / 0.8722 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.5928, allocations: 25.7 kB / 0.8723 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.5928, allocations: 80.14 kB / 0.8723 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.5928, allocations: 7.844 kB / 0.8723 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5928, allocations: 4 kB / 0.8723 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.593, allocations: 322.8 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.593, allocations: 4 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.593, allocations: 12.03 kB / 0.8727 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.593, allocations: 11.95 kB / 0.8727 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5931, allocations: 0 / 0.8727 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.233e-05/0.5931, allocations: 45.69 kB / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5932, allocations: 11.94 kB / 0.8727 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5932, allocations: 0 / 0.8727 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5932, allocations: 0 / 0.8727 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.5933, allocations: 12.08 kB / 0.8727 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5933, allocations: 4 kB / 0.8728 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.5934, allocations: 19.83 kB / 0.8728 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.5934, allocations: 3.984 kB / 0.8728 GB, free: 13.25 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 () * 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 6.677e-05/0.5935, allocations: 104.9 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.5935, allocations: 4 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.5936, allocations: 53.34 kB / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5936, allocations: 4.031 kB / 0.8729 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5937, allocations: 4.234 kB / 0.8729 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5937, allocations: 0 / 0.8729 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.5938, allocations: 161.7 kB / 0.8731 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5939, allocations: 3.953 kB / 0.8731 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.5939, allocations: 15.92 kB / 0.8731 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5939, allocations: 0 / 0.8731 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.594, allocations: 0 / 0.8731 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.594, allocations: 0 / 0.8731 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.594, allocations: 4 kB / 0.8731 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.5941, allocations: 143.5 kB / 0.8733 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.5941, allocations: 84.97 kB / 0.8733 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.5942, allocations: 7.984 kB / 0.8733 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.5942, allocations: 4 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.5943, allocations: 3.984 kB / 0.8733 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.5943, allocations: 4 kB / 0.8734 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.5943, allocations: 87.31 kB / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5944, allocations: 0 / 0.8734 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000217/0.5946, allocations: 8 kB / 0.8734 GB, free: 12.47 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 () * 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.0001589/0.5947, allocations: 107.1 kB / 0.8735 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.336e-05/0.5948, allocations: 19.98 kB / 0.8736 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5948, allocations: 0 / 0.8736 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.507e-05/0.5949, allocations: 12 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.595, allocations: 4.125 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000223/0.5953, allocations: 65.17 kB / 0.8736 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.5955, allocations: 0.6848 MB / 0.8743 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.555e-05/0.5955, allocations: 0 / 0.8743 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.5956, allocations: 11.44 kB / 0.8743 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/0.5956, allocations: 0 / 0.8743 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of Templates: time 0.002477/0.598, allocations: 488.6 kB / 0.8748 GB, free: 11.04 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)