Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.conf.json 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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 108.1 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 183 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8529/0.8529, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.58 kB / 0.5962 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1923, allocations: 82.03 MB / 0.6763 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.004143/0.1965, allocations: 1.442 MB / 0.6777 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004543/0.1969, allocations: 100.6 kB / 0.6778 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.197, allocations: 4 kB / 0.6778 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.472e-05/0.1971, allocations: 3.938 kB / 0.6778 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.1972, allocations: 0 / 0.6778 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1975, allocations: 19.92 kB / 0.6778 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.153e-05/0.1976, allocations: 23.92 kB / 0.6779 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1977, allocations: 7.984 kB / 0.6779 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.1978, allocations: 11.94 kB / 0.6779 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.1979, allocations: 11.92 kB / 0.6779 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1979, allocations: 8 kB / 0.6779 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1981, allocations: 19.98 kB / 0.6779 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.1981, allocations: 7.984 kB / 0.6779 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1982, allocations: 11.92 kB / 0.6779 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1984, allocations: 35.89 kB / 0.678 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1984, allocations: 0 / 0.678 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1984, allocations: 0 / 0.678 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.1984, allocations: 0 / 0.678 GB, free: 8.75 MB / 0.5137 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.0006096/0.199, allocations: 346.3 kB / 0.6783 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.1991, allocations: 16.03 kB / 0.6783 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1992, allocations: 0.9375 kB / 0.6783 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.1993, allocations: 168.2 kB / 0.6785 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1994, allocations: 4.375 kB / 0.6785 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1994, allocations: 4.375 kB / 0.6785 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.1997, allocations: 46.23 kB / 0.6785 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1997, allocations: 4.125 kB / 0.6785 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1998, allocations: 7.938 kB / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1998, allocations: 0 / 0.6785 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.2001, allocations: 43.95 kB / 0.6786 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005145/0.2006, allocations: 249 kB / 0.6788 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2009, allocations: 46.44 kB / 0.6789 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.201, allocations: 28.89 kB / 0.6789 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.2011, allocations: 7.984 kB / 0.6789 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.2012, allocations: 30.56 kB / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.2012, allocations: 0 / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0006107/0.2018, allocations: 89.58 kB / 0.679 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.2019, allocations: 51.41 kB / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.202, allocations: 113.9 kB / 0.6792 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.202, allocations: 25.7 kB / 0.6792 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.2021, allocations: 88.14 kB / 0.6793 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.2021, allocations: 7.844 kB / 0.6793 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.2022, allocations: 13.72 kB / 0.6793 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2024, allocations: 318.8 kB / 0.6796 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.2026, allocations: 15.98 kB / 0.6796 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2027, allocations: 19.98 kB / 0.6796 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.203, allocations: 44.81 kB / 0.6797 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2031, allocations: 0 / 0.6797 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000378/0.2035, allocations: 77.53 kB / 0.6798 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2035, allocations: 4 kB / 0.6798 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2035, allocations: 8.094 kB / 0.6798 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2035, allocations: 0 / 0.6798 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2037, allocations: 8.234 kB / 0.6798 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2037, allocations: 0 / 0.6798 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/0.2038, allocations: 8 kB / 0.6798 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2038, allocations: 0 / 0.6798 GB, free: 6.668 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.2039, allocations: 117.8 kB / 0.6799 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.204, allocations: 3.906 kB / 0.6799 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.2044, allocations: 81.19 kB / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2044, allocations: 0 / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2044, allocations: 0 / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2045, allocations: 0 / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.2047, allocations: 169.5 kB / 0.6801 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2047, allocations: 0 / 0.6801 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.2049, allocations: 7.984 kB / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2049, allocations: 0 / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2049, allocations: 8.031 kB / 0.6802 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2049, allocations: 0 / 0.6802 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2049, allocations: 3.938 kB / 0.6802 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.2053, allocations: 163.5 kB / 0.6803 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.2054, allocations: 85.02 kB / 0.6804 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2054, allocations: 0 / 0.6804 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2056, allocations: 12.02 kB / 0.6804 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.2057, allocations: 7.984 kB / 0.6804 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.2057, allocations: 3.938 kB / 0.6804 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.2058, allocations: 87.27 kB / 0.6805 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2058, allocations: 0 / 0.6805 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004182/0.2062, allocations: 12 kB / 0.6805 GB, free: 5.82 MB / 0.5137 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 (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.000209/0.2064, allocations: 103.2 kB / 0.6806 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003626/0.2068, allocations: 43.95 kB / 0.6806 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2068, allocations: 4 kB / 0.6807 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.207, allocations: 19.98 kB / 0.6807 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.2075, allocations: 6.75 kB / 0.6807 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.2079, allocations: 127.2 kB / 0.6808 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2083, allocations: 0.6847 MB / 0.6815 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.2083, allocations: 7.438 kB / 0.6815 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of SimCode: time 5e-07/0.2083, allocations: 3.938 kB / 0.6815 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.003657/0.212, allocations: 0.6846 MB / 0.6821 GB, free: 4.074 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)