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 1.045/1.045, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001358/0.001358, allocations: 184.6 kB / 182.2 MB, free: 9.457 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.366/1.366, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009158/0.000916, allocations: 88.16 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 282.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.754e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3838, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5172, allocations: 107.9 MB / 0.8627 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5174, allocations: 79.78 kB / 0.8628 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002439/0.5199, allocations: 0.784 MB / 0.8636 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5199, allocations: 0 / 0.8636 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5199, allocations: 0 / 0.8636 GB, free: 3.102 MB / 0.5261 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.0003547/0.5203, allocations: 342.5 kB / 0.8639 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5203, allocations: 12.03 kB / 0.8639 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.5204, allocations: 0 / 0.8639 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5205, allocations: 167 kB / 0.8641 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5205, allocations: 3.953 kB / 0.8641 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.5206, allocations: 0 / 0.8641 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.053e-05/0.5206, allocations: 12 kB / 0.8641 GB, free: 2.492 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.331e-05/0.5207, allocations: 49.56 kB / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5207, allocations: 0 / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5208, allocations: 0 / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5208, allocations: 0 / 0.8641 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.5212, allocations: 253.5 kB / 0.8644 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.5212, allocations: 30.56 kB / 0.8644 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.5213, allocations: 12.92 kB / 0.8644 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.5213, allocations: 0 / 0.8644 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.5214, allocations: 42.56 kB / 0.8645 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.5214, allocations: 0 / 0.8645 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.5216, allocations: 45.62 kB / 0.8645 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.5216, allocations: 55.41 kB / 0.8646 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.5217, allocations: 96.94 kB / 0.8646 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5217, allocations: 25.7 kB / 0.8647 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.5218, allocations: 92.12 kB / 0.8648 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.5218, allocations: 11.88 kB / 0.8648 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5218, allocations: 0 / 0.8648 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5219, allocations: 310.8 kB / 0.8651 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.5219, allocations: 8 kB / 0.8651 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.47e-05/0.522, allocations: 4 kB / 0.8651 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.872e-05/0.522, allocations: 11.98 kB / 0.8651 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.522, allocations: 4 kB / 0.8651 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001061/0.5221, allocations: 57.48 kB / 0.8652 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5222, allocations: 8.094 kB / 0.8652 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.5222, allocations: 0 / 0.8652 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5222, allocations: 0 / 0.8652 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.5223, allocations: 11.98 kB / 0.8652 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5223, allocations: 4 kB / 0.8652 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.5223, allocations: 4 kB / 0.8652 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5224, allocations: 0 / 0.8652 GB, free: 1.262 MB / 0.5261 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.97e-05/0.5224, allocations: 109 kB / 0.8653 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.5225, allocations: 3.953 kB / 0.8653 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.5226, allocations: 57.64 kB / 0.8653 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.5226, allocations: 0 / 0.8653 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5226, allocations: 4 kB / 0.8653 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5226, allocations: 0 / 0.8653 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.5228, allocations: 142.2 kB / 0.8655 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5228, allocations: 0 / 0.8655 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.5229, allocations: 11.94 kB / 0.8655 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5229, allocations: 8.016 kB / 0.8655 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5229, allocations: 11.94 kB / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5229, allocations: 0 / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5229, allocations: 0 / 0.8655 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.5231, allocations: 135.5 kB / 0.8656 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.5231, allocations: 81.02 kB / 0.8657 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.5231, allocations: 4 kB / 0.8657 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.5232, allocations: 15.97 kB / 0.8657 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.5233, allocations: 4 kB / 0.8657 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5233, allocations: 4 kB / 0.8657 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.5233, allocations: 83.53 kB / 0.8658 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5233, allocations: 0 / 0.8658 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002236/0.5236, allocations: 8 kB / 0.8658 GB, free: 0.5039 MB / 0.5261 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.0001517/0.5237, allocations: 103.2 kB / 0.8659 GB, free: 404 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.5238, allocations: 19.94 kB / 0.8659 GB, free: 384 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5238, allocations: 7.938 kB / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.5238, allocations: 8 kB / 0.866 GB, free: 368 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.524, allocations: 0 / 0.866 GB, free: 368 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.5242, allocations: 67.94 kB / 0.866 GB, free: 276 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5245, allocations: 0.6806 MB / 0.8667 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.5246, allocations: 4 kB / 0.8667 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.5246, allocations: 11.56 kB / 0.8667 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.454e-06/0.5246, allocations: 0 / 0.8667 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.002333/0.5269, allocations: 443.2 kB / 0.8671 GB, free: 15.12 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)