Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6929/0.6929, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001591/0.001591, allocations: 180.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 404.5 MB, free: 1.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008764/0.0008768, allocations: 88.66 kB / 481.8 MB, free: 4.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.395e-05, allocations: 4 kB / 0.5532 GB, free: 54.81 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 76.75 MB / 0.6282 GB, free: 10 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6669/0.8363, allocations: 101.8 MB / 0.7276 GB, free: 11.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.8367, allocations: 76.02 kB / 0.7276 GB, free: 11.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001239/0.8379, allocations: 488 kB / 0.7281 GB, free: 11.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8379, allocations: 0 / 0.7281 GB, free: 11.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.8379, allocations: 0 / 0.7281 GB, free: 11.02 MB / 490.7 MB 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.0002755/0.8382, allocations: 314.3 kB / 0.7284 GB, free: 10.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8383, allocations: 8.031 kB / 0.7284 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.8383, allocations: 3.953 kB / 0.7284 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.8384, allocations: 159.1 kB / 0.7286 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.8385, allocations: 4 kB / 0.7286 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.8385, allocations: 0 / 0.7286 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.785e-05/0.8386, allocations: 33.38 kB / 0.7286 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.8386, allocations: 4 kB / 0.7286 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.8386, allocations: 0 / 0.7286 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.8386, allocations: 7.938 kB / 0.7286 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.8387, allocations: 8.578 kB / 0.7286 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.8388, allocations: 145.6 kB / 0.7288 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.393e-05/0.8389, allocations: 21.73 kB / 0.7288 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.8389, allocations: 4.859 kB / 0.7288 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.8389, allocations: 4.062 kB / 0.7288 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.839, allocations: 38.55 kB / 0.7288 GB, free: 10.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.839, allocations: 2.188 kB / 0.7288 GB, free: 10.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.8391, allocations: 33.64 kB / 0.7289 GB, free: 10.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.8391, allocations: 51.41 kB / 0.7289 GB, free: 10.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.985e-05/0.8392, allocations: 87.94 kB / 0.729 GB, free: 9.938 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.8392, allocations: 25.7 kB / 0.729 GB, free: 9.906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.8393, allocations: 80.14 kB / 0.7291 GB, free: 9.824 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.8393, allocations: 4.031 kB / 0.7291 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.8393, allocations: 4 kB / 0.7291 GB, free: 9.816 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8394, allocations: 314.8 kB / 0.7294 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.8394, allocations: 0 / 0.7294 GB, free: 9.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.8394, allocations: 0 / 0.7294 GB, free: 9.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.914e-05/0.8395, allocations: 7.984 kB / 0.7294 GB, free: 9.492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8395, allocations: 0 / 0.7294 GB, free: 9.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.878e-05/0.8395, allocations: 33.02 kB / 0.7294 GB, free: 9.457 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8396, allocations: 8 kB / 0.7295 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.8396, allocations: 6.531 kB / 0.7295 GB, free: 9.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8396, allocations: 3.938 kB / 0.7295 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.58e-05/0.8396, allocations: 0 / 0.7295 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.8396, allocations: 0 / 0.7295 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.8397, allocations: 7.938 kB / 0.7295 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.8397, allocations: 3.938 kB / 0.7295 GB, free: 9.43 MB / 490.7 MB 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 6.681e-05/0.8398, allocations: 108.9 kB / 0.7296 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.8398, allocations: 0 / 0.7296 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.982e-05/0.8399, allocations: 44.81 kB / 0.7296 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.8399, allocations: 0 / 0.7296 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8399, allocations: 0 / 0.7296 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.8399, allocations: 0 / 0.7296 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.84, allocations: 150.2 kB / 0.7298 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.84, allocations: 4 kB / 0.7298 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.84, allocations: 0 / 0.7298 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.84, allocations: 0 / 0.7298 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.8401, allocations: 0 / 0.7298 GB, free: 9.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.8401, allocations: 7.969 kB / 0.7298 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8401, allocations: 4 kB / 0.7298 GB, free: 9.062 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.575e-05/0.8401, allocations: 60.39 kB / 0.7298 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.8402, allocations: 81.05 kB / 0.7299 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.8402, allocations: 4.812 kB / 0.7299 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.8402, allocations: 0 / 0.7299 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.8403, allocations: 0 / 0.7299 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.8403, allocations: 4.031 kB / 0.7299 GB, free: 8.883 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.769e-05/0.8403, allocations: 75.28 kB / 0.73 GB, free: 8.809 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8403, allocations: 0 / 0.73 GB, free: 8.809 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000184/0.8405, allocations: 11.98 kB / 0.73 GB, free: 8.797 MB / 490.7 MB 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.000172/0.8407, allocations: 107 kB / 0.7301 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.119e-05/0.8407, allocations: 10.94 kB / 0.7301 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8408, allocations: 0 / 0.7301 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/0.8408, allocations: 4.062 kB / 0.7301 GB, free: 8.672 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.625e-05/0.8409, allocations: 4 kB / 0.7301 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.841, allocations: 49.44 kB / 0.7302 GB, free: 8.598 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.8413, allocations: 0.6731 MB / 0.7308 GB, free: 7.898 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.114e-05/0.8414, allocations: 4.547 kB / 0.7308 GB, free: 7.895 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.8414, allocations: 11.5 kB / 0.7308 GB, free: 7.883 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8414, allocations: 0 / 0.7308 GB, free: 7.883 MB / 490.7 MB Notification: Performance of Templates: time 0.002105/0.8435, allocations: 300.6 kB / 0.7311 GB, free: 7.602 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)