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.004876/0.004876, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001135/0.001135, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.8686/0.8686, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 72.81 kB / 0.5951 GB, free: 12.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 82.03 MB / 0.6752 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002138/0.1577, allocations: 0.5857 MB / 0.6758 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002268/0.1579, allocations: 31.88 kB / 0.6758 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.1579, allocations: 0 / 0.6758 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.158, allocations: 0 / 0.6758 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.158, allocations: 0 / 0.6758 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1583, allocations: 19.92 kB / 0.6758 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.1583, allocations: 0 / 0.6758 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.967e-05/0.1584, allocations: 4 kB / 0.6758 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.258e-05/0.1584, allocations: 4 kB / 0.6758 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.1584, allocations: 3.984 kB / 0.6758 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.1585, allocations: 0 / 0.6758 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.1586, allocations: 19.97 kB / 0.6759 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1586, allocations: 0 / 0.6759 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.1586, allocations: 0 / 0.6759 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1587, allocations: 19.92 kB / 0.6759 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1587, allocations: 0 / 0.6759 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1587, allocations: 0 / 0.6759 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.1588, allocations: 0 / 0.6759 GB, free: 10.22 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004062/0.1592, allocations: 319.8 kB / 0.6762 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1592, allocations: 12.03 kB / 0.6762 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.935e-05/0.1593, allocations: 30.75 kB / 0.6762 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1594, allocations: 0.9375 kB / 0.6762 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.1595, allocations: 164.3 kB / 0.6764 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1595, allocations: 4.312 kB / 0.6764 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1595, allocations: 384 / 0.6764 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1597, allocations: 38.25 kB / 0.6764 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1597, allocations: 7.922 kB / 0.6764 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.1597, allocations: 0 / 0.6764 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1597, allocations: 4 kB / 0.6764 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.1597, allocations: 4 kB / 0.6764 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1599, allocations: 145.7 kB / 0.6766 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.16, allocations: 18.52 kB / 0.6766 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.16, allocations: 12.95 kB / 0.6766 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.1601, allocations: 0 / 0.6766 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.1601, allocations: 38.89 kB / 0.6766 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1601, allocations: 0 / 0.6766 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001592/0.1603, allocations: 37.64 kB / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1603, allocations: 51.41 kB / 0.6767 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1605, allocations: 93.8 kB / 0.6768 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1605, allocations: 25.7 kB / 0.6768 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.1605, allocations: 80.14 kB / 0.6769 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.1606, allocations: 3.953 kB / 0.6769 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.1606, allocations: 17.84 kB / 0.6769 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1608, allocations: 318.8 kB / 0.6773 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.1608, allocations: 0 / 0.6773 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.798e-06/0.1608, allocations: 4 kB / 0.6773 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.1608, allocations: 4.859 kB / 0.6773 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/0.1608, allocations: 4 kB / 0.6773 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.877e-05/0.1609, allocations: 37.64 kB / 0.6773 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1609, allocations: 4 kB / 0.6773 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.1609, allocations: 8.031 kB / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.161, allocations: 0 / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/0.161, allocations: 11.92 kB / 0.6773 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.161, allocations: 0 / 0.6773 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.1611, allocations: 0 / 0.6773 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.1611, allocations: 4 kB / 0.6773 GB, free: 8.512 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 (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.523e-05/0.1611, allocations: 109.8 kB / 0.6774 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.1612, allocations: 0 / 0.6774 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.1613, allocations: 48.75 kB / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1613, allocations: 0 / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1613, allocations: 0 / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1613, allocations: 0 / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.218e-05/0.1614, allocations: 145.7 kB / 0.6776 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1614, allocations: 0 / 0.6776 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.1614, allocations: 4 kB / 0.6776 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1614, allocations: 7.922 kB / 0.6776 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1614, allocations: 3.938 kB / 0.6776 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1615, allocations: 7.969 kB / 0.6776 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1615, allocations: 0 / 0.6776 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.735e-05/0.1615, allocations: 57.14 kB / 0.6777 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.1616, allocations: 77.11 kB / 0.6778 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.1616, allocations: 7.922 kB / 0.6778 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.1616, allocations: 0 / 0.6778 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.1616, allocations: 4 kB / 0.6778 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1616, allocations: 8.031 kB / 0.6778 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.1617, allocations: 75.28 kB / 0.6779 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 0 / 0.6779 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002011/0.1619, allocations: 4 kB / 0.6779 GB, free: 7.863 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 (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.0003827/0.1623, allocations: 0.6123 MB / 0.6785 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.1623, allocations: 4 kB / 0.6785 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1624, allocations: 0 / 0.6785 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.1624, allocations: 4 kB / 0.6785 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1625, allocations: 0 / 0.6785 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.1628, allocations: 114.5 kB / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.1631, allocations: 0.6728 MB / 0.6792 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.1631, allocations: 8.125 kB / 0.6792 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.1632, allocations: 7.438 kB / 0.6792 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1632, allocations: 0 / 0.6792 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.182, allocations: 1.023 MB / 0.6802 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.616, allocations: 4.953 kB / 0.6803 GB, free: 5.422 MB / 0.5137 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)