Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.001187/0.001187, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001981/0.001981, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.473 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.9879/0.9879, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.153, allocations: 82.03 MB / 0.5939 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001601/0.1547, allocations: 0.6465 MB / 0.5945 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000209/0.1549, allocations: 35.88 kB / 0.5946 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.01e-05/0.1549, allocations: 0 / 0.5946 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.1549, allocations: 0 / 0.5946 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.1549, allocations: 0 / 0.5946 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1552, allocations: 15.98 kB / 0.5946 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.547e-05/0.1552, allocations: 3.984 kB / 0.5946 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.1553, allocations: 4 kB / 0.5946 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.1553, allocations: 0 / 0.5946 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.55e-05/0.1553, allocations: 7.938 kB / 0.5946 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1554, allocations: 3.938 kB / 0.5946 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.1554, allocations: 15.98 kB / 0.5946 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-06/0.1555, allocations: 0 / 0.5946 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.1555, allocations: 7.984 kB / 0.5946 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.1556, allocations: 11.97 kB / 0.5946 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1556, allocations: 4 kB / 0.5946 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1556, allocations: 0 / 0.5946 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1556, allocations: 0 / 0.5946 GB, free: 9.027 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002703/0.1559, allocations: 323 kB / 0.595 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1559, allocations: 12.03 kB / 0.595 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.1559, allocations: 30.75 kB / 0.595 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.005e-05/0.156, allocations: 0.9375 kB / 0.595 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.048e-05/0.156, allocations: 160.4 kB / 0.5952 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.156, allocations: 384 / 0.5952 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1561, allocations: 384 / 0.5952 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.404e-05/0.1562, allocations: 38.2 kB / 0.5952 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1562, allocations: 3.938 kB / 0.5952 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1562, allocations: 0 / 0.5952 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1562, allocations: 0 / 0.5952 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.1562, allocations: 7.984 kB / 0.5952 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.1563, allocations: 145.7 kB / 0.5953 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.1564, allocations: 14.58 kB / 0.5954 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.1564, allocations: 16.89 kB / 0.5954 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1564, allocations: 0 / 0.5954 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.1565, allocations: 34.56 kB / 0.5954 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.1565, allocations: 0 / 0.5954 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001132/0.1566, allocations: 49.56 kB / 0.5954 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.1566, allocations: 51.41 kB / 0.5955 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.637e-05/0.1567, allocations: 89.86 kB / 0.5956 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.1567, allocations: 25.7 kB / 0.5956 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.1567, allocations: 88.2 kB / 0.5957 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.1567, allocations: 3.906 kB / 0.5957 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.1568, allocations: 13.72 kB / 0.5957 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.1569, allocations: 314.8 kB / 0.596 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1569, allocations: 0 / 0.596 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-06/0.1569, allocations: 11.92 kB / 0.596 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.1569, allocations: 4.859 kB / 0.596 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1569, allocations: 8.062 kB / 0.596 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.435e-05/0.157, allocations: 29.7 kB / 0.5961 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.157, allocations: 4 kB / 0.5961 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.157, allocations: 3.938 kB / 0.5961 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.157, allocations: 0 / 0.5961 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.1571, allocations: 4 kB / 0.5961 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1571, allocations: 0 / 0.5961 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.1571, allocations: 0 / 0.5961 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.1571, allocations: 7.984 kB / 0.5961 GB, free: 7.328 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 (1): * Single equations (assignments): 1 * 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 6.219e-05/0.1572, allocations: 113.8 kB / 0.5962 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-06/0.1572, allocations: 4 kB / 0.5962 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.012e-05/0.1573, allocations: 44.75 kB / 0.5962 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1573, allocations: 0 / 0.5962 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1573, allocations: 4 kB / 0.5962 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1573, allocations: 3.984 kB / 0.5962 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.469e-05/0.1574, allocations: 141.7 kB / 0.5964 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1574, allocations: 4.031 kB / 0.5964 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.1574, allocations: 4 kB / 0.5964 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1574, allocations: 0 / 0.5964 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1574, allocations: 3.938 kB / 0.5964 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1574, allocations: 0 / 0.5964 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1574, allocations: 3.984 kB / 0.5964 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.744e-05/0.1575, allocations: 61.08 kB / 0.5965 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.1575, allocations: 77.11 kB / 0.5965 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.1575, allocations: 7.969 kB / 0.5965 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.1576, allocations: 3.938 kB / 0.5965 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.1576, allocations: 7.984 kB / 0.5965 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.1576, allocations: 0 / 0.5965 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.207e-05/0.1576, allocations: 75.28 kB / 0.5966 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1576, allocations: 0 / 0.5966 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000174/0.1578, allocations: 8 kB / 0.5966 GB, free: 6.672 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 (1): * Single equations (assignments): 1 * 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.0003438/0.1582, allocations: 0.6048 MB / 0.5972 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.881e-05/0.1582, allocations: 4 kB / 0.5972 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1582, allocations: 3.938 kB / 0.5972 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.1582, allocations: 4 kB / 0.5972 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1584, allocations: 1.875 kB / 0.5972 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.1586, allocations: 118.7 kB / 0.5973 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.1588, allocations: 0.669 MB / 0.598 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.1589, allocations: 4 kB / 0.598 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.1589, allocations: 7.438 kB / 0.598 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1589, allocations: 0 / 0.598 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3246/0.4835, allocations: 0.9344 MB / 0.5989 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.4838, allocations: 221.5 kB / 0.5991 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.23, allocations: 0 / 0.5991 GB, free: 4.094 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)