Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8053/0.8053, allocations: 128.7 MB / 143.7 MB, free: 2.316 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 192.4 kB / 173.8 MB, free: 6.109 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.734/1.734, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009043/0.0009043, allocations: 90.67 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 10.19 kB / 0.5603 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 76.76 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.3589, allocations: 102.6 MB / 0.7355 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.3592, allocations: 79.94 kB / 0.7356 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002968/0.3622, allocations: 0.7935 MB / 0.7363 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3623, allocations: 0 / 0.7363 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3623, allocations: 0 / 0.7363 GB, free: 6.953 MB / 0.5105 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.0005238/0.3628, allocations: 347.2 kB / 0.7367 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.3629, allocations: 12.03 kB / 0.7367 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3629, allocations: 7.953 kB / 0.7367 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3631, allocations: 163 kB / 0.7368 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3631, allocations: 0 / 0.7368 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3632, allocations: 4 kB / 0.7368 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.3634, allocations: 61.59 kB / 0.7369 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3634, allocations: 3.938 kB / 0.7369 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3635, allocations: 4 kB / 0.7369 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3635, allocations: 0 / 0.7369 GB, free: 6.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.3637, allocations: 47.95 kB / 0.737 GB, free: 6.223 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/0.3643, allocations: 276.9 kB / 0.7372 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3645, allocations: 46.55 kB / 0.7373 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.3646, allocations: 3.938 kB / 0.7373 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3646, allocations: 34.56 kB / 0.7373 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.3646, allocations: 0 / 0.7373 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0004808/0.3651, allocations: 109.7 kB / 0.7374 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3652, allocations: 59.39 kB / 0.7375 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.3653, allocations: 97 kB / 0.7376 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3653, allocations: 25.7 kB / 0.7376 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3654, allocations: 84.14 kB / 0.7377 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3654, allocations: 7.891 kB / 0.7377 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.3654, allocations: 0 / 0.7377 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3655, allocations: 318.8 kB / 0.738 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3657, allocations: 19.98 kB / 0.738 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3658, allocations: 31.91 kB / 0.738 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3659, allocations: 27.92 kB / 0.738 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3659, allocations: 4.062 kB / 0.7381 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003015/0.3662, allocations: 77.66 kB / 0.7381 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3663, allocations: 4 kB / 0.7381 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3663, allocations: 0 / 0.7381 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3663, allocations: 4 kB / 0.7381 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3664, allocations: 16.27 kB / 0.7382 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3665, allocations: 0 / 0.7382 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.3665, allocations: 15.94 kB / 0.7382 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3666, allocations: 4 kB / 0.7382 GB, free: 4.863 MB / 0.5105 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 9.759e-05/0.3667, allocations: 109.8 kB / 0.7383 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.3667, allocations: 7.906 kB / 0.7383 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.3671, allocations: 97.11 kB / 0.7384 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3671, allocations: 0 / 0.7384 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3671, allocations: 0 / 0.7384 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3671, allocations: 0 / 0.7384 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3674, allocations: 161.6 kB / 0.7385 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3674, allocations: 0 / 0.7385 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.3675, allocations: 16.03 kB / 0.7385 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3675, allocations: 0 / 0.7385 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3675, allocations: 3.984 kB / 0.7385 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3675, allocations: 0 / 0.7385 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3675, allocations: 0 / 0.7385 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.3679, allocations: 187.3 kB / 0.7387 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.3679, allocations: 77.11 kB / 0.7388 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.368, allocations: 4 kB / 0.7388 GB, free: 4.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3681, allocations: 7.984 kB / 0.7388 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3681, allocations: 4 kB / 0.7388 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3682, allocations: 4.031 kB / 0.7388 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.861e-05/0.3682, allocations: 87.27 kB / 0.7389 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.3682, allocations: 0 / 0.7389 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003649/0.3686, allocations: 11.94 kB / 0.7389 GB, free: 3.996 MB / 0.5105 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.0001874/0.3688, allocations: 107 kB / 0.739 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3691, allocations: 59.89 kB / 0.7391 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3691, allocations: 0 / 0.7391 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.3692, allocations: 27.92 kB / 0.7391 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.3695, allocations: 3.953 kB / 0.7391 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.3698, allocations: 124.8 kB / 0.7392 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3702, allocations: 0.6809 MB / 0.7399 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.3703, allocations: 4 kB / 0.7399 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.3703, allocations: 7.438 kB / 0.7399 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.3703, allocations: 0 / 0.7399 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of Templates: time 0.00306/0.3734, allocations: 465.5 kB / 0.7403 GB, free: 2.473 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)