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.005322/0.005322, allocations: 99.77 kB / 15.73 MB, free: 6.047 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.001533/0.001533, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.007/1.007, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 67.89 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4491, allocations: 82.03 MB / 0.6752 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001465/0.4506, allocations: 0.5766 MB / 0.6758 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.4508, allocations: 34.19 kB / 0.6758 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.4509, allocations: 0 / 0.6758 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.4509, allocations: 0 / 0.6758 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.4509, allocations: 9.062 kB / 0.6758 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.4512, allocations: 13.38 kB / 0.6758 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.4512, allocations: 6.234 kB / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.4513, allocations: 1.188 kB / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.4513, allocations: 1.062 kB / 0.6758 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.766e-05/0.4513, allocations: 3.984 kB / 0.6758 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.4513, allocations: 1.125 kB / 0.6758 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.4514, allocations: 15.83 kB / 0.6759 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.4514, allocations: 3.938 kB / 0.6759 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.4515, allocations: 1 kB / 0.6759 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.4516, allocations: 23 kB / 0.6759 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4516, allocations: 0 / 0.6759 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4516, allocations: 0 / 0.6759 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.4516, allocations: 0 / 0.6759 GB, free: 0.668 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.0002365/0.4518, allocations: 316.2 kB / 0.6762 GB, free: 320 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4519, allocations: 9.656 kB / 0.6762 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.054e-05/0.4519, allocations: 34.75 kB / 0.6762 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.4519, allocations: 0.9375 kB / 0.6762 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.134e-05/0.452, allocations: 165.5 kB / 0.6764 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-06/0.452, allocations: 384 / 0.6764 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.452, allocations: 5.25 kB / 0.6764 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.4521, allocations: 28.48 kB / 0.6764 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4521, allocations: 3.938 kB / 0.6764 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.4521, allocations: 0 / 0.6764 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4521, allocations: 1.156 kB / 0.6764 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.851e-05/0.4521, allocations: 5.188 kB / 0.6764 GB, free: 28 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.4523, allocations: 150.9 kB / 0.6766 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.556e-05/0.4524, allocations: 21.14 kB / 0.6766 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.4524, allocations: 10.2 kB / 0.6766 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.4524, allocations: 1.125 kB / 0.6766 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4524, allocations: 31.53 kB / 0.6766 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4525, allocations: 0 / 0.6766 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.4526, allocations: 40.39 kB / 0.6767 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.4526, allocations: 55.39 kB / 0.6767 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.4527, allocations: 93.86 kB / 0.6768 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4527, allocations: 33.77 kB / 0.6768 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.4527, allocations: 81.27 kB / 0.6769 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.4528, allocations: 0 / 0.6769 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.4528, allocations: 12.56 kB / 0.6769 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4529, allocations: 310.8 kB / 0.6772 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.4529, allocations: 1.406 kB / 0.6772 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.4529, allocations: 1.438 kB / 0.6772 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.453, allocations: 19.73 kB / 0.6772 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.453, allocations: 0 / 0.6772 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.44e-05/0.453, allocations: 39.03 kB / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.453, allocations: 6.156 kB / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.453, allocations: 3.938 kB / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4531, allocations: 0 / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/0.4531, allocations: 2.312 kB / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4531, allocations: 1.406 kB / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.4531, allocations: 0 / 0.6773 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4532, allocations: 1.469 kB / 0.6773 GB, free: 15.04 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.106e-05/0.4532, allocations: 111.4 kB / 0.6774 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.799e-06/0.4532, allocations: 7.891 kB / 0.6774 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/0.4533, allocations: 46.69 kB / 0.6775 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4533, allocations: 1.25 kB / 0.6775 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4534, allocations: 0 / 0.6775 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4534, allocations: 0 / 0.6775 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.514e-05/0.4535, allocations: 150.6 kB / 0.6776 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4535, allocations: 5.062 kB / 0.6776 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.4535, allocations: 1.156 kB / 0.6776 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4535, allocations: 1.219 kB / 0.6776 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4535, allocations: 3.938 kB / 0.6776 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4535, allocations: 1.156 kB / 0.6776 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4535, allocations: 0 / 0.6776 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.185e-05/0.4536, allocations: 60.12 kB / 0.6777 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.4536, allocations: 81.14 kB / 0.6778 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.4536, allocations: 5.188 kB / 0.6778 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.4536, allocations: 0 / 0.6778 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.4537, allocations: 1.188 kB / 0.6778 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.4537, allocations: 5.188 kB / 0.6778 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.307e-05/0.4537, allocations: 79.22 kB / 0.6778 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4537, allocations: 0 / 0.6778 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00018/0.4539, allocations: 4.812 kB / 0.6778 GB, free: 14.41 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.0003672/0.4543, allocations: 0.6146 MB / 0.6784 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.4543, allocations: 3.938 kB / 0.6784 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4543, allocations: 0 / 0.6784 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.4544, allocations: 6.531 kB / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.4545, allocations: 1.281 kB / 0.6785 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.4548, allocations: 117 kB / 0.6786 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.455, allocations: 0.674 MB / 0.6792 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.082e-05/0.455, allocations: 6.562 kB / 0.6792 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.455, allocations: 8.781 kB / 0.6792 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.455, allocations: 0 / 0.6792 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.4697, allocations: 1.027 MB / 0.6802 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.926, allocations: 6.375 kB / 0.6802 GB, free: 12.34 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 & /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)