Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7456/0.7456, allocations: 127.4 MB / 134.9 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 179.2 kB / 164.7 MB, free: 11.59 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.2 MB / 399.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 99.55 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.472e-05, allocations: 3.406 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 76.78 MB / 0.6216 GB, free: 42.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.3023, allocations: 101.8 MB / 0.7211 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3026, allocations: 75.95 kB / 0.7211 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002396/0.305, allocations: 0.7785 MB / 0.7219 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.412e-06/0.305, allocations: 0 / 0.7219 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.305, allocations: 0 / 0.7219 GB, free: 4.152 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003699/0.3054, allocations: 346.5 kB / 0.7222 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3054, allocations: 8.031 kB / 0.7222 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.3055, allocations: 3.953 kB / 0.7222 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3056, allocations: 174.9 kB / 0.7224 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3057, allocations: 4 kB / 0.7224 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3057, allocations: 0 / 0.7224 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.981e-05/0.3058, allocations: 12 kB / 0.7224 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.404e-05/0.3058, allocations: 37.69 kB / 0.7225 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3058, allocations: 0 / 0.7225 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3059, allocations: 0 / 0.7225 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3059, allocations: 0 / 0.7225 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3063, allocations: 261.5 kB / 0.7227 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.3064, allocations: 34.5 kB / 0.7227 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.3064, allocations: 12.92 kB / 0.7227 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.3064, allocations: 0 / 0.7227 GB, free: 3.137 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3065, allocations: 34.56 kB / 0.7228 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.3065, allocations: 3.938 kB / 0.7228 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000191/0.3067, allocations: 49.69 kB / 0.7228 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3067, allocations: 55.34 kB / 0.7229 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.3068, allocations: 96.95 kB / 0.723 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3068, allocations: 25.7 kB / 0.723 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.3069, allocations: 88.12 kB / 0.7231 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.3069, allocations: 7.906 kB / 0.7231 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.3069, allocations: 0 / 0.7231 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.307, allocations: 310.8 kB / 0.7234 GB, free: 2.426 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.307, allocations: 12.03 kB / 0.7234 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.3071, allocations: 7.938 kB / 0.7234 GB, free: 2.406 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.3071, allocations: 15.98 kB / 0.7234 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3071, allocations: 0 / 0.7234 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.954e-05/0.3072, allocations: 45.69 kB / 0.7235 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3072, allocations: 4 kB / 0.7235 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3073, allocations: 0 / 0.7235 GB, free: 2.336 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3073, allocations: 3.984 kB / 0.7235 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.3074, allocations: 16.08 kB / 0.7235 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3074, allocations: 4 kB / 0.7235 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.3074, allocations: 7.906 kB / 0.7235 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3075, allocations: 3.953 kB / 0.7235 GB, free: 2.301 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.031e-05/0.3075, allocations: 105 kB / 0.7236 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001011/0.3077, allocations: 49.62 kB / 0.7237 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.3077, allocations: 0 / 0.7237 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.3078, allocations: 65.66 kB / 0.7237 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3078, allocations: 0 / 0.7237 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3078, allocations: 4.203 kB / 0.7237 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3078, allocations: 0 / 0.7237 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.308, allocations: 142.2 kB / 0.7239 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.308, allocations: 0 / 0.7239 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.3081, allocations: 16 kB / 0.7239 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3081, allocations: 0 / 0.7239 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3081, allocations: 0 / 0.7239 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3081, allocations: 8.016 kB / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3081, allocations: 0 / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3083, allocations: 147.3 kB / 0.724 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.315e-05/0.3083, allocations: 85.05 kB / 0.7241 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3083, allocations: 0 / 0.7241 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.3084, allocations: 7.984 kB / 0.7241 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3085, allocations: 8.031 kB / 0.7241 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3085, allocations: 0 / 0.7241 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.3085, allocations: 83.28 kB / 0.7242 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3085, allocations: 0 / 0.7242 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002064/0.3087, allocations: 8 kB / 0.7242 GB, free: 1.5 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004379/0.3092, allocations: 0.7027 MB / 0.7249 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.3093, allocations: 12 kB / 0.7249 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3093, allocations: 0 / 0.7249 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.3093, allocations: 8 kB / 0.7249 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.3095, allocations: 4 kB / 0.7249 GB, free: 0.7461 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.3098, allocations: 93.64 kB / 0.725 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.3101, allocations: 0.6808 MB / 0.7257 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.303e-05/0.3101, allocations: 4 kB / 0.7257 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3102, allocations: 7.438 kB / 0.7257 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.3102, allocations: 4 kB / 0.7257 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.3295, allocations: 0.847 MB / 0.7265 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.3298, allocations: 144.1 kB / 0.7266 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.79, allocations: 0 / 0.7266 GB, free: 14.86 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynominal.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynominal.pipe 2>&1)