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.793/0.793, allocations: 143.4 MB / 159.2 MB, free: 4.887 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.001281/0.001281, allocations: 184.5 kB / 191.9 MB, free: 5.727 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.43/1.43, allocations: 222.9 MB / 447.3 MB, free: 5.844 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.001031/0.001031, allocations: 103 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 277.1 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 79.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3605, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002935/0.3635, allocations: 1.5 MB / 0.7694 GB, free: 26.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003135/0.3638, allocations: 83.81 kB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.3639, allocations: 0 / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 6.631e-05/0.364, allocations: 7.938 kB / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.364, allocations: 0 / 0.7695 GB, free: 26.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.3643, allocations: 15.98 kB / 0.7695 GB, free: 26.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.3643, allocations: 27.91 kB / 0.7695 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.3644, allocations: 4 kB / 0.7695 GB, free: 26.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.3645, allocations: 7.938 kB / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.3645, allocations: 19.92 kB / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3646, allocations: 4 kB / 0.7695 GB, free: 25.99 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.392e-05/0.3647, allocations: 19.92 kB / 0.7696 GB, free: 25.97 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3647, allocations: 3.984 kB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.3647, allocations: 11.94 kB / 0.7696 GB, free: 25.95 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3649, allocations: 39.88 kB / 0.7696 GB, free: 25.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3649, allocations: 0 / 0.7696 GB, free: 25.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3649, allocations: 0 / 0.7696 GB, free: 25.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3649, allocations: 0 / 0.7696 GB, free: 25.91 MB / 458.7 MB 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.0004579/0.3654, allocations: 346.2 kB / 0.7699 GB, free: 25.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3654, allocations: 12.03 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3655, allocations: 0.9375 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3656, allocations: 168.2 kB / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3656, allocations: 4.375 kB / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3657, allocations: 384 / 0.7701 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3659, allocations: 54.17 kB / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3659, allocations: 192 / 0.7702 GB, free: 25.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3659, allocations: 7.875 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3659, allocations: 4 kB / 0.7702 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.3662, allocations: 39.95 kB / 0.7702 GB, free: 25.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.3665, allocations: 257 kB / 0.7705 GB, free: 24.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3667, allocations: 42.5 kB / 0.7705 GB, free: 24.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.3668, allocations: 28.83 kB / 0.7705 GB, free: 24.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.3669, allocations: 4 kB / 0.7705 GB, free: 24.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.3669, allocations: 34.56 kB / 0.7706 GB, free: 24.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.3669, allocations: 0 / 0.7706 GB, free: 24.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004536/0.3673, allocations: 85.64 kB / 0.7707 GB, free: 24.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.3674, allocations: 55.53 kB / 0.7707 GB, free: 24.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.3675, allocations: 105.8 kB / 0.7708 GB, free: 24.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.3675, allocations: 25.7 kB / 0.7708 GB, free: 24.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.3675, allocations: 84.14 kB / 0.7709 GB, free: 24.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3676, allocations: 7.906 kB / 0.7709 GB, free: 24.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3676, allocations: 17.7 kB / 0.7709 GB, free: 24.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.289e-05/0.3677, allocations: 310.8 kB / 0.7712 GB, free: 24.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3678, allocations: 31.86 kB / 0.7713 GB, free: 24.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3679, allocations: 11.98 kB / 0.7713 GB, free: 24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.3681, allocations: 48.81 kB / 0.7713 GB, free: 23.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3682, allocations: 0 / 0.7713 GB, free: 23.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002813/0.3684, allocations: 73.5 kB / 0.7714 GB, free: 23.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3685, allocations: 12.09 kB / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.3685, allocations: 0 / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3685, allocations: 0 / 0.7714 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3686, allocations: 7.984 kB / 0.7714 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3686, allocations: 0 / 0.7714 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.3687, allocations: 4 kB / 0.7714 GB, free: 23.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.3687, allocations: 7.984 kB / 0.7714 GB, free: 23.84 MB / 458.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.3688, allocations: 123 kB / 0.7715 GB, free: 23.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3689, allocations: 4 kB / 0.7715 GB, free: 23.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.3692, allocations: 77.17 kB / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3692, allocations: 0 / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3692, allocations: 0 / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3692, allocations: 0 / 0.7716 GB, free: 23.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3694, allocations: 169.6 kB / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3694, allocations: 0 / 0.7718 GB, free: 23.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.73e-05/0.3695, allocations: 7.984 kB / 0.7718 GB, free: 23.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3695, allocations: 8.031 kB / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3695, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3695, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3695, allocations: 0 / 0.7718 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.3701, allocations: 0.7434 MB / 0.7725 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.3701, allocations: 77.36 kB / 0.7726 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3701, allocations: 3.938 kB / 0.7726 GB, free: 22.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3703, allocations: 11.98 kB / 0.7726 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3703, allocations: 4 kB / 0.7726 GB, free: 22.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3703, allocations: 3.938 kB / 0.7726 GB, free: 22.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.328e-05/0.3704, allocations: 87.27 kB / 0.7727 GB, free: 22.39 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3704, allocations: 0 / 0.7727 GB, free: 22.39 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005951/0.371, allocations: 8 kB / 0.7727 GB, free: 22.38 MB / 458.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001313/0.3711, allocations: 107.8 kB / 0.7728 GB, free: 22.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.3714, allocations: 43.89 kB / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3714, allocations: 0 / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3716, allocations: 19.98 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.372, allocations: 4.125 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.3723, allocations: 230 kB / 0.7731 GB, free: 21.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3725, allocations: 0.6809 MB / 0.7738 GB, free: 21.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.108e-05/0.3725, allocations: 0 / 0.7738 GB, free: 21.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.3725, allocations: 7.438 kB / 0.7738 GB, free: 21.22 MB / 458.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3725, allocations: 0 / 0.7738 GB, free: 21.22 MB / 458.7 MB Notification: Performance of Templates: time 0.002821/0.3754, allocations: 493.8 kB / 0.7742 GB, free: 20.74 MB / 458.7 MB 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)