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.00123/0.00123, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.387 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 1.006/1.006, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 64.14 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1584, allocations: 82.04 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001752/0.1601, allocations: 0.5739 MB / 0.595 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002138/0.1604, allocations: 35.88 kB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.1604, allocations: 4 kB / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1604, allocations: 0 / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.458e-06/0.1604, allocations: 0 / 0.595 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1607, allocations: 11.94 kB / 0.595 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.1608, allocations: 3.984 kB / 0.595 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.1608, allocations: 4 kB / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.454e-05/0.1608, allocations: 0 / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.1609, allocations: 0 / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1609, allocations: 3.938 kB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.38e-05/0.161, allocations: 19.98 kB / 0.595 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.697e-06/0.161, allocations: 4 kB / 0.595 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.161, allocations: 0 / 0.595 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.622e-05/0.1611, allocations: 15.97 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1611, allocations: 0 / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1611, allocations: 0 / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1611, allocations: 0 / 0.5951 GB, free: 8.836 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.0002972/0.1614, allocations: 319.6 kB / 0.5954 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1615, allocations: 12.03 kB / 0.5954 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.1615, allocations: 30.75 kB / 0.5954 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.182e-05/0.1616, allocations: 0.9375 kB / 0.5954 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1617, allocations: 172.3 kB / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1617, allocations: 384 / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.1617, allocations: 384 / 0.5956 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.1618, allocations: 38.25 kB / 0.5956 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1618, allocations: 3.938 kB / 0.5956 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1618, allocations: 0 / 0.5956 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.1618, allocations: 0 / 0.5956 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.1618, allocations: 0 / 0.5956 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.162, allocations: 157.7 kB / 0.5958 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.162, allocations: 22.52 kB / 0.5958 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.1621, allocations: 8.953 kB / 0.5958 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1621, allocations: 0 / 0.5958 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1621, allocations: 34.5 kB / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.575e-06/0.1621, allocations: 0 / 0.5958 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001503/0.1623, allocations: 45.58 kB / 0.5959 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1623, allocations: 55.53 kB / 0.5959 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.1624, allocations: 93.84 kB / 0.596 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1624, allocations: 25.7 kB / 0.596 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.1624, allocations: 80.14 kB / 0.5961 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.1625, allocations: 3.906 kB / 0.5961 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1625, allocations: 17.66 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1627, allocations: 310.8 kB / 0.5964 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.1627, allocations: 4 kB / 0.5964 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.1627, allocations: 8 kB / 0.5964 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.803e-05/0.1628, allocations: 4.859 kB / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1628, allocations: 0 / 0.5964 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.417e-05/0.1628, allocations: 37.69 kB / 0.5965 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1628, allocations: 4 kB / 0.5965 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1629, allocations: 3.938 kB / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1629, allocations: 0 / 0.5965 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.1629, allocations: 4 kB / 0.5965 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.163, allocations: 3.938 kB / 0.5965 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.163, allocations: 4.094 kB / 0.5965 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.163, allocations: 3.984 kB / 0.5965 GB, free: 7.121 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 8.646e-05/0.1631, allocations: 109.8 kB / 0.5966 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.1631, allocations: 0 / 0.5966 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1632, allocations: 44.75 kB / 0.5967 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1632, allocations: 0 / 0.5967 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1632, allocations: 8.031 kB / 0.5967 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1633, allocations: 0 / 0.5967 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1634, allocations: 145.7 kB / 0.5968 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1634, allocations: 0 / 0.5968 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.1634, allocations: 4 kB / 0.5968 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1634, allocations: 0 / 0.5968 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1634, allocations: 3.938 kB / 0.5968 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1634, allocations: 0 / 0.5968 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1634, allocations: 0 / 0.5968 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.543e-05/0.1635, allocations: 69.06 kB / 0.5969 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1636, allocations: 77.11 kB / 0.5969 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1636, allocations: 3.938 kB / 0.5969 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.094e-05/0.1636, allocations: 3.938 kB / 0.597 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.1636, allocations: 0 / 0.597 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.1636, allocations: 4 kB / 0.597 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.1637, allocations: 75.28 kB / 0.597 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1637, allocations: 3.938 kB / 0.597 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001953/0.1639, allocations: 4 kB / 0.597 GB, free: 6.477 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.0004451/0.1643, allocations: 0.6088 MB / 0.5976 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8e-05/0.1644, allocations: 7.984 kB / 0.5976 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1644, allocations: 0 / 0.5976 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-05/0.1644, allocations: 4.094 kB / 0.5976 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1646, allocations: 7.266 kB / 0.5976 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.1649, allocations: 110.6 kB / 0.5978 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1652, allocations: 0.6729 MB / 0.5984 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.1652, allocations: 0 / 0.5984 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.1653, allocations: 15.5 kB / 0.5984 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/0.1653, allocations: 0 / 0.5984 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.1819, allocations: 1.014 MB / 0.5994 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/7.543, allocations: 13.61 kB / 0.5994 GB, free: 4.023 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)