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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009388, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007261/0.007261, allocations: 174.1 kB / 16.26 MB, free: 6.273 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: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.981/0.981, allocations: 143.2 MB / 434.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 83.41 MB / 0.598 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.001399/0.1713, allocations: 1.163 MB / 0.5991 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.1716, allocations: 92.59 kB / 0.5992 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1717, allocations: 4 kB / 0.5992 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.1717, allocations: 0 / 0.5992 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.346e-05/0.1717, allocations: 11.92 kB / 0.5992 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1719, allocations: 8 kB / 0.5992 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.172, allocations: 23.92 kB / 0.5992 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.1721, allocations: 4 kB / 0.5992 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.1721, allocations: 15.91 kB / 0.5992 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.716e-05/0.1722, allocations: 11.98 kB / 0.5993 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1722, allocations: 0 / 0.5993 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.417e-05/0.1723, allocations: 19.98 kB / 0.5993 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.1723, allocations: 7.938 kB / 0.5993 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.1723, allocations: 33.64 kB / 0.5993 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.701e-05/0.1724, allocations: 39.88 kB / 0.5994 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1724, allocations: 0 / 0.5994 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1725, allocations: 0 / 0.5994 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.1725, allocations: 0 / 0.5994 GB, free: 6.102 MB / 0.4981 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.0003997/0.1729, allocations: 347.7 kB / 0.5997 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1729, allocations: 15.97 kB / 0.5997 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.1729, allocations: 30.75 kB / 0.5997 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.849e-05/0.173, allocations: 0.9375 kB / 0.5997 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1731, allocations: 172.3 kB / 0.5999 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1731, allocations: 384 / 0.5999 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.1731, allocations: 384 / 0.5999 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1733, allocations: 58.23 kB / 0.6 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1733, allocations: 7.938 kB / 0.6 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1733, allocations: 4 kB / 0.6 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1733, allocations: 0 / 0.6 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.1735, allocations: 47.95 kB / 0.6 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.1738, allocations: 260.8 kB / 0.6003 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.174, allocations: 46.5 kB / 0.6003 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.1741, allocations: 36.89 kB / 0.6003 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1741, allocations: 8 kB / 0.6003 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1742, allocations: 30.56 kB / 0.6004 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1742, allocations: 0 / 0.6004 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003681/0.1745, allocations: 105.7 kB / 0.6005 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1746, allocations: 51.41 kB / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.1747, allocations: 109.8 kB / 0.6006 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.1747, allocations: 25.7 kB / 0.6007 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.1747, allocations: 84.14 kB / 0.6007 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1748, allocations: 7.844 kB / 0.6007 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.142e-05/0.1748, allocations: 9.719 kB / 0.6008 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1749, allocations: 326.9 kB / 0.6011 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.175, allocations: 19.98 kB / 0.6011 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.1751, allocations: 19.98 kB / 0.6011 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1753, allocations: 56.88 kB / 0.6012 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1753, allocations: 3.938 kB / 0.6012 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002194/0.1755, allocations: 89.5 kB / 0.6012 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1755, allocations: 11.94 kB / 0.6013 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1755, allocations: 0 / 0.6013 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1755, allocations: 0 / 0.6013 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.1756, allocations: 8 kB / 0.6013 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1756, allocations: 3.984 kB / 0.6013 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1757, allocations: 8.031 kB / 0.6013 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.1757, allocations: 4 kB / 0.6013 GB, free: 3.895 MB / 0.4981 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 7.299e-05/0.1758, allocations: 113.8 kB / 0.6014 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1758, allocations: 7.984 kB / 0.6014 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1761, allocations: 89.12 kB / 0.6015 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1761, allocations: 4 kB / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1761, allocations: 0 / 0.6015 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1761, allocations: 3.984 kB / 0.6015 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1762, allocations: 161.6 kB / 0.6016 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1763, allocations: 4 kB / 0.6016 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.1763, allocations: 8.25 kB / 0.6017 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1763, allocations: 0 / 0.6017 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1763, allocations: 7.984 kB / 0.6017 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1763, allocations: 4.031 kB / 0.6017 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1763, allocations: 0 / 0.6017 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.1766, allocations: 175.5 kB / 0.6018 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1767, allocations: 89.05 kB / 0.6019 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.1767, allocations: 0 / 0.6019 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.1768, allocations: 15.86 kB / 0.6019 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1768, allocations: 4 kB / 0.6019 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1768, allocations: 0 / 0.6019 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.1768, allocations: 87.27 kB / 0.602 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1768, allocations: 0 / 0.602 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002197/0.1771, allocations: 8 kB / 0.602 GB, free: 3.023 MB / 0.4981 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.0005348/0.1776, allocations: 0.7125 MB / 0.6027 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1778, allocations: 59.89 kB / 0.6028 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1778, allocations: 0 / 0.6028 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.1779, allocations: 24.05 kB / 0.6028 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1782, allocations: 0 / 0.6028 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.1786, allocations: 162.3 kB / 0.603 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1789, allocations: 0.677 MB / 0.6036 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.1789, allocations: 4 kB / 0.6036 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.1789, allocations: 11.5 kB / 0.6036 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.1789, allocations: 0 / 0.6036 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.1891, allocations: 1.189 MB / 0.6048 GB, free: 236 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2621/0.4512, allocations: 197.3 kB / 0.605 GB, free: 42.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.171, allocations: 0 / 0.605 GB, free: 42.12 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)