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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.001129/0.001129, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001291/0.001291, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.036/1.036, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 12 kB / 0.5159 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2025, allocations: 83.41 MB / 0.5974 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.0007472/0.2032, allocations: 303.1 kB / 0.5977 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001852/0.2034, allocations: 39.91 kB / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.2035, allocations: 0 / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.2035, allocations: 0 / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.001e-06/0.2035, allocations: 0 / 0.5977 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.2037, allocations: 19.92 kB / 0.5977 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.376e-05/0.2038, allocations: 0 / 0.5977 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.2038, allocations: 0 / 0.5977 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.2038, allocations: 4 kB / 0.5977 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.2039, allocations: 0 / 0.5977 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.2039, allocations: 0 / 0.5977 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.204, allocations: 19.92 kB / 0.5977 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.204, allocations: 3.984 kB / 0.5977 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.204, allocations: 25.7 kB / 0.5978 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.789e-05/0.2041, allocations: 7.984 kB / 0.5978 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2041, allocations: 0 / 0.5978 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2041, allocations: 4 kB / 0.5978 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2041, allocations: 0 / 0.5978 GB, free: 7.328 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.0002734/0.2044, allocations: 311.4 kB / 0.5981 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2045, allocations: 8.031 kB / 0.5981 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.2045, allocations: 34.56 kB / 0.5981 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.392e-05/0.2045, allocations: 4 kB / 0.5981 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2047, allocations: 163 kB / 0.5983 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.2047, allocations: 3.938 kB / 0.5983 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.2047, allocations: 0 / 0.5983 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.2048, allocations: 37.69 kB / 0.5983 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2048, allocations: 0 / 0.5983 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.2048, allocations: 4 kB / 0.5983 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2048, allocations: 0 / 0.5983 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.858e-05/0.2049, allocations: 0 / 0.5983 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.205, allocations: 145.6 kB / 0.5985 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.2051, allocations: 26.48 kB / 0.5985 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.2051, allocations: 4 kB / 0.5985 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.2052, allocations: 38.62 kB / 0.5985 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.2052, allocations: 0 / 0.5985 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.2053, allocations: 33.69 kB / 0.5986 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.2054, allocations: 51.41 kB / 0.5986 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.2054, allocations: 89.86 kB / 0.5987 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2054, allocations: 25.7 kB / 0.5987 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.2055, allocations: 80.14 kB / 0.5988 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.2055, allocations: 12.03 kB / 0.5988 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.2055, allocations: 0 / 0.5988 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2057, allocations: 314.8 kB / 0.5991 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.2057, allocations: 7.875 kB / 0.5991 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.2057, allocations: 0 / 0.5991 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.027e-05/0.2057, allocations: 11.94 kB / 0.5991 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2057, allocations: 0 / 0.5991 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.852e-05/0.2058, allocations: 29.7 kB / 0.5991 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2058, allocations: 8.094 kB / 0.5992 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2058, allocations: 4 kB / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2058, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.2059, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2059, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.2059, allocations: 0 / 0.5992 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2059, allocations: 4 kB / 0.5992 GB, free: 5.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.93e-05/0.206, allocations: 117.8 kB / 0.5993 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-06/0.206, allocations: 0 / 0.5993 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.2061, allocations: 48.77 kB / 0.5993 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2061, allocations: 0 / 0.5993 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2062, allocations: 0 / 0.5993 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.2062, allocations: 3.984 kB / 0.5993 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.2063, allocations: 141.7 kB / 0.5995 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2063, allocations: 3.953 kB / 0.5995 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.2063, allocations: 4 kB / 0.5995 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.2063, allocations: 0 / 0.5995 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.2063, allocations: 4.031 kB / 0.5995 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2063, allocations: 0 / 0.5995 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2063, allocations: 0 / 0.5995 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.686e-05/0.2064, allocations: 65.06 kB / 0.5995 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.2065, allocations: 81.06 kB / 0.5996 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.2065, allocations: 0 / 0.5996 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.2065, allocations: 8 kB / 0.5996 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.2065, allocations: 0 / 0.5996 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.2065, allocations: 7.969 kB / 0.5996 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.2066, allocations: 79.27 kB / 0.5997 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2066, allocations: 0 / 0.5997 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001984/0.2068, allocations: 8 kB / 0.5997 GB, free: 5.023 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.2072, allocations: 0.601 MB / 0.6003 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.057e-05/0.2072, allocations: 15.88 kB / 0.6003 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2073, allocations: 0 / 0.6003 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-06/0.2073, allocations: 4 kB / 0.6003 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.688e-05/0.2074, allocations: 1.891 kB / 0.6003 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.2076, allocations: 108.3 kB / 0.6004 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2079, allocations: 0.6731 MB / 0.6011 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.2079, allocations: 12.11 kB / 0.6011 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.208, allocations: 7.438 kB / 0.6011 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.208, allocations: 0 / 0.6011 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.2194, allocations: 0.8289 MB / 0.6019 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/0.2197, allocations: 195.6 kB / 0.6021 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.842, allocations: 3.938 kB / 0.6021 GB, free: 2.582 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/linux/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) Environment - environmentSimulation: