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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001475/0.001475, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.9759/0.9759, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.89 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1783, allocations: 82.04 MB / 0.5937 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.003027/0.1814, allocations: 1.502 MB / 0.5952 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003831/0.1818, allocations: 92.66 kB / 0.5953 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.1819, allocations: 0 / 0.5953 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.082e-05/0.182, allocations: 3.938 kB / 0.5953 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.1821, allocations: 3.984 kB / 0.5953 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.1823, allocations: 19.98 kB / 0.5953 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.1824, allocations: 19.92 kB / 0.5953 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1825, allocations: 8 kB / 0.5953 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.1826, allocations: 11.94 kB / 0.5953 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.165e-05/0.1826, allocations: 15.92 kB / 0.5954 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1826, allocations: 0 / 0.5954 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1827, allocations: 15.98 kB / 0.5954 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1828, allocations: 11.86 kB / 0.5954 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.1828, allocations: 11.94 kB / 0.5954 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.1829, allocations: 35.94 kB / 0.5954 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.183, allocations: 0 / 0.5954 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.183, allocations: 0 / 0.5954 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.183, allocations: 0 / 0.5954 GB, free: 8.176 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.0004639/0.1835, allocations: 351.7 kB / 0.5958 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1835, allocations: 8.031 kB / 0.5958 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1835, allocations: 34.75 kB / 0.5958 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.1836, allocations: 4.938 kB / 0.5958 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1837, allocations: 168.3 kB / 0.596 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1837, allocations: 384 / 0.596 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.1837, allocations: 4.375 kB / 0.596 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1839, allocations: 54.23 kB / 0.596 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1839, allocations: 3.938 kB / 0.596 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.184, allocations: 0 / 0.596 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.184, allocations: 3.938 kB / 0.596 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1842, allocations: 43.94 kB / 0.5961 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1845, allocations: 245 kB / 0.5963 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1847, allocations: 54.48 kB / 0.5964 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.276e-05/0.1848, allocations: 20.91 kB / 0.5964 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.1848, allocations: 8 kB / 0.5964 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1848, allocations: 34.5 kB / 0.5964 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1848, allocations: 0 / 0.5964 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003606/0.1852, allocations: 89.64 kB / 0.5965 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1853, allocations: 55.39 kB / 0.5966 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.1854, allocations: 101.9 kB / 0.5967 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1854, allocations: 25.7 kB / 0.5967 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.1854, allocations: 88.03 kB / 0.5968 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.1855, allocations: 11.94 kB / 0.5968 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.1855, allocations: 9.719 kB / 0.5968 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1856, allocations: 319 kB / 0.5971 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.1857, allocations: 19.97 kB / 0.5971 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.1858, allocations: 15.98 kB / 0.5971 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.186, allocations: 44.77 kB / 0.5972 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.186, allocations: 4 kB / 0.5972 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002297/0.1862, allocations: 77.56 kB / 0.5972 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1862, allocations: 4 kB / 0.5973 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1862, allocations: 0 / 0.5973 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1863, allocations: 3.938 kB / 0.5973 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.1864, allocations: 11.98 kB / 0.5973 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1864, allocations: 3.938 kB / 0.5973 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.1864, allocations: 8.234 kB / 0.5973 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1864, allocations: 4.031 kB / 0.5973 GB, free: 6.043 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.635e-05/0.1865, allocations: 117.8 kB / 0.5974 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1866, allocations: 4 kB / 0.5974 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1868, allocations: 77.12 kB / 0.5975 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1868, allocations: 7.984 kB / 0.5975 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1868, allocations: 0 / 0.5975 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1868, allocations: 0 / 0.5975 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.187, allocations: 161.6 kB / 0.5976 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.187, allocations: 4 kB / 0.5976 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.1871, allocations: 7.984 kB / 0.5976 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1871, allocations: 0 / 0.5976 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1871, allocations: 0 / 0.5976 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1871, allocations: 0 / 0.5976 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1871, allocations: 4 kB / 0.5976 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.1874, allocations: 175.3 kB / 0.5978 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.1874, allocations: 77.11 kB / 0.5979 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1874, allocations: 7.984 kB / 0.5979 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.1875, allocations: 4 kB / 0.5979 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.1876, allocations: 3.984 kB / 0.5979 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.1876, allocations: 0 / 0.5979 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.1876, allocations: 83.28 kB / 0.598 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1876, allocations: 4 kB / 0.598 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002172/0.1878, allocations: 8.031 kB / 0.598 GB, free: 5.207 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.0006018/0.1885, allocations: 0.7084 MB / 0.5987 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.1887, allocations: 40 kB / 0.5987 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1887, allocations: 0 / 0.5987 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/0.1888, allocations: 23.97 kB / 0.5987 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.1891, allocations: 4 kB / 0.5988 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1895, allocations: 160.9 kB / 0.5989 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1898, allocations: 0.677 MB / 0.5996 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.1898, allocations: 3.984 kB / 0.5996 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1899, allocations: 7.438 kB / 0.5996 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of SimCode: time 1.903e-06/0.1899, allocations: 0 / 0.5996 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.201, allocations: 1.25 MB / 0.6008 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/0.2013, allocations: 203.8 kB / 0.601 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.773, allocations: 0 / 0.601 GB, free: 2.086 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)