Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8766/0.8766, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001068/0.001068, allocations: 185.4 kB / 187.3 MB, free: 11.89 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.582/1.582, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008791/0.0008792, allocations: 93.39 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001867/0.001868, allocations: 285.2 kB / 0.594 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.262e-05, allocations: 8 kB / 0.6835 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.5136, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.6475, allocations: 107.8 MB / 0.8696 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.6478, allocations: 76.42 kB / 0.8697 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009952/0.6488, allocations: 483.8 kB / 0.8701 GB, free: 180 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6488, allocations: 0.75 kB / 0.8701 GB, free: 180 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6488, allocations: 0 / 0.8701 GB, free: 180 kB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002261/0.649, allocations: 303.6 kB / 0.8704 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.6491, allocations: 19.36 kB / 0.8704 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.6491, allocations: 0 / 0.8704 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.6492, allocations: 159.1 kB / 0.8706 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.6493, allocations: 7.953 kB / 0.8706 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.6493, allocations: 0 / 0.8706 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6494, allocations: 33.64 kB / 0.8706 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6494, allocations: 0 / 0.8706 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.6494, allocations: 0 / 0.8706 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6494, allocations: 1.812 kB / 0.8706 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.6494, allocations: 3.938 kB / 0.8706 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.6496, allocations: 149.7 kB / 0.8708 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.6497, allocations: 19.39 kB / 0.8708 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.6497, allocations: 12.91 kB / 0.8708 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.6498, allocations: 3.219 kB / 0.8708 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.6498, allocations: 30.56 kB / 0.8708 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.6498, allocations: 0 / 0.8708 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001697/0.65, allocations: 33.64 kB / 0.8709 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.65, allocations: 59.39 kB / 0.8709 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.838e-05/0.6501, allocations: 87.53 kB / 0.871 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6501, allocations: 25.7 kB / 0.871 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.6501, allocations: 80.14 kB / 0.8711 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.6502, allocations: 3.984 kB / 0.8711 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.6502, allocations: 0 / 0.8711 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6503, allocations: 314.8 kB / 0.8714 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.6503, allocations: 11.97 kB / 0.8714 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-06/0.6503, allocations: 0 / 0.8714 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.6504, allocations: 0 / 0.8714 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6504, allocations: 0 / 0.8714 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.742e-05/0.6504, allocations: 41.62 kB / 0.8715 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6504, allocations: 7.953 kB / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6505, allocations: 0 / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.6505, allocations: 0 / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.6505, allocations: 4 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6505, allocations: 7.141 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.6506, allocations: 3.938 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.6506, allocations: 0 / 0.8715 GB, free: 14.59 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 (1): * Single equations (assignments): 1 * 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.898e-05/0.6507, allocations: 105 kB / 0.8716 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.6507, allocations: 3.984 kB / 0.8716 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.6508, allocations: 44.77 kB / 0.8716 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.6508, allocations: 4.031 kB / 0.8716 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6508, allocations: 4 kB / 0.8716 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6508, allocations: 0 / 0.8716 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.091e-05/0.6509, allocations: 141.7 kB / 0.8718 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6509, allocations: 3.984 kB / 0.8718 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.6509, allocations: 7.938 kB / 0.8718 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6509, allocations: 0 / 0.8718 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.6509, allocations: 0 / 0.8718 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6509, allocations: 7.891 kB / 0.8718 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.651, allocations: 0 / 0.8718 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.651e-05/0.651, allocations: 65.05 kB / 0.8719 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.6511, allocations: 81.09 kB / 0.8719 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.6511, allocations: 4 kB / 0.8719 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.6511, allocations: 0 / 0.8719 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.6511, allocations: 3.953 kB / 0.8719 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.6512, allocations: 4 kB / 0.8719 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.6512, allocations: 75.28 kB / 0.872 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6512, allocations: 4.031 kB / 0.872 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002019/0.6514, allocations: 4 kB / 0.872 GB, free: 13.94 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 (1): * Single equations (assignments): 1 * 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.0001764/0.6516, allocations: 107.2 kB / 0.8721 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.6517, allocations: 11.92 kB / 0.8721 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6517, allocations: 0 / 0.8721 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.6517, allocations: 8 kB / 0.8721 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.464e-05/0.6518, allocations: 1.203 kB / 0.8722 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.652, allocations: 49.38 kB / 0.8722 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6523, allocations: 0.677 MB / 0.8729 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.6524, allocations: 0 / 0.8729 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.6524, allocations: 11.44 kB / 0.8729 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of SimCode: time 4.3e-07/0.6524, allocations: 0 / 0.8729 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.002218/0.6546, allocations: 290.6 kB / 0.8731 GB, free: 12.74 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)