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.001531/0.001531, allocations: 108 kB / 15.6 MB, free: 132 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.00176/0.00176, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.9441/0.9441, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.002485/0.1738, allocations: 0.5805 MB / 0.595 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.1741, allocations: 31.88 kB / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.1741, allocations: 0 / 0.595 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.1742, allocations: 3.938 kB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-06/0.1742, allocations: 0 / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1745, allocations: 12 kB / 0.595 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.426e-05/0.1746, allocations: 3.984 kB / 0.595 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.1746, allocations: 7.984 kB / 0.595 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.1746, allocations: 0 / 0.595 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.1747, allocations: 7.938 kB / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1747, allocations: 0 / 0.595 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1748, allocations: 15.98 kB / 0.595 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.1748, allocations: 0 / 0.595 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.1749, allocations: 7.938 kB / 0.5951 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.509e-05/0.175, allocations: 11.98 kB / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.175, allocations: 0 / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.175, allocations: 0 / 0.5951 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.175, allocations: 0 / 0.5951 GB, free: 8.809 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.0003789/0.1754, allocations: 319.6 kB / 0.5954 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1754, allocations: 19.97 kB / 0.5954 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.676e-05/0.1755, allocations: 30.75 kB / 0.5954 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1755, allocations: 0.9375 kB / 0.5954 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1757, allocations: 160.4 kB / 0.5956 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1757, allocations: 4.359 kB / 0.5956 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1757, allocations: 384 / 0.5956 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.1758, allocations: 34.27 kB / 0.5956 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1758, allocations: 3.938 kB / 0.5956 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.1758, allocations: 0 / 0.5956 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1758, allocations: 0 / 0.5956 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.596e-05/0.1759, allocations: 7.938 kB / 0.5956 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.1761, allocations: 149.7 kB / 0.5958 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.1761, allocations: 18.56 kB / 0.5958 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.454e-05/0.1761, allocations: 8.953 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.1762, allocations: 3.984 kB / 0.5958 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1762, allocations: 30.56 kB / 0.5958 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1762, allocations: 7.938 kB / 0.5958 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000147/0.1764, allocations: 41.58 kB / 0.5959 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.1764, allocations: 55.41 kB / 0.5959 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.699e-05/0.1765, allocations: 89.86 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1765, allocations: 25.7 kB / 0.596 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1766, allocations: 80.14 kB / 0.5961 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.1767, allocations: 7.891 kB / 0.5961 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.1767, allocations: 13.72 kB / 0.5961 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1768, allocations: 315 kB / 0.5964 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1769, allocations: 0 / 0.5964 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.1769, allocations: 4 kB / 0.5964 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.1769, allocations: 8.859 kB / 0.5964 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1769, allocations: 0 / 0.5964 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.765e-05/0.177, allocations: 41.62 kB / 0.5965 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.177, allocations: 4 kB / 0.5965 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.177, allocations: 3.938 kB / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1771, allocations: 4.094 kB / 0.5965 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.1771, allocations: 8 kB / 0.5965 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1771, allocations: 0 / 0.5965 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.1772, allocations: 0 / 0.5965 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1772, allocations: 0 / 0.5965 GB, free: 7.102 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.962e-05/0.1773, allocations: 109.8 kB / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.1773, allocations: 0 / 0.5966 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1774, allocations: 52.69 kB / 0.5967 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1774, allocations: 0 / 0.5967 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1774, allocations: 4 kB / 0.5967 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1774, allocations: 3.938 kB / 0.5967 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1776, allocations: 145.7 kB / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1776, allocations: 0 / 0.5968 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.1776, allocations: 4 kB / 0.5968 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1776, allocations: 0 / 0.5968 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1776, allocations: 3.938 kB / 0.5968 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1777, allocations: 0 / 0.5968 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1777, allocations: 4.031 kB / 0.5968 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.902e-05/0.1777, allocations: 61.12 kB / 0.5969 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.1778, allocations: 77.11 kB / 0.5969 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1778, allocations: 7.875 kB / 0.597 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.1778, allocations: 0 / 0.597 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.855e-05/0.1778, allocations: 3.938 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1779, allocations: 4 kB / 0.597 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.66e-05/0.1779, allocations: 79.31 kB / 0.597 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1779, allocations: 0 / 0.597 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002299/0.1781, allocations: 4 kB / 0.597 GB, free: 6.449 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.0004252/0.1786, allocations: 0.5971 MB / 0.5976 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.401e-05/0.1786, allocations: 12.02 kB / 0.5976 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.1787, allocations: 4 kB / 0.5976 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.1787, allocations: 3.938 kB / 0.5976 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1788, allocations: 10.59 kB / 0.5977 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.1791, allocations: 106.6 kB / 0.5978 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1794, allocations: 0.6729 MB / 0.5984 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.1794, allocations: 4.125 kB / 0.5984 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.1794, allocations: 11.44 kB / 0.5984 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1795, allocations: 0 / 0.5984 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.1996, allocations: 1.005 MB / 0.5994 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.802, allocations: 8.703 kB / 0.5994 GB, free: 4.004 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)