Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 249.3 MB / 261.8 MB, free: 5.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 180.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.2 MB / 0.572 GB, free: 10.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008828/0.0008829, allocations: 89.23 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.975e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2289, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7631/0.9921, allocations: 130.9 MB / 1.02 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.9924, allocations: 76.48 kB / 1.02 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001075/0.9935, allocations: 487.3 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9935, allocations: 0 / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.9935, allocations: 4 kB / 1.02 GB, free: 3.305 MB / 0.6355 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.0002275/0.9937, allocations: 310.7 kB / 1.021 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.9938, allocations: 8.031 kB / 1.021 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.9938, allocations: 30.56 kB / 1.021 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.9939, allocations: 0 / 1.021 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.553e-05/0.994, allocations: 166.8 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.994, allocations: 4 kB / 1.021 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.994, allocations: 0 / 1.021 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.9941, allocations: 29.7 kB / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.9941, allocations: 0 / 1.021 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.9941, allocations: 3.984 kB / 1.021 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.9941, allocations: 0 / 1.021 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.9942, allocations: 7.938 kB / 1.021 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.9943, allocations: 148.4 kB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.928e-05/0.9943, allocations: 21.86 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.9944, allocations: 4.859 kB / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.118e-05/0.9944, allocations: 8.062 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.9945, allocations: 34.55 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.9945, allocations: 0 / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.9946, allocations: 37.62 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.9946, allocations: 51.41 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.527e-05/0.9947, allocations: 88.31 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.9947, allocations: 25.7 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.9947, allocations: 84.08 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.9948, allocations: 4.031 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.9948, allocations: 4 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.9949, allocations: 310.8 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.9949, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.9949, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.995, allocations: 4 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.995, allocations: 3.953 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.678e-05/0.995, allocations: 37.62 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.9951, allocations: 12.09 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.9951, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9951, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.9952, allocations: 3.312 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9952, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.9952, allocations: 3.938 kB / 1.022 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.9952, allocations: 7.938 kB / 1.022 GB, free: 1.68 MB / 0.6355 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 (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 6.27e-05/0.9953, allocations: 101 kB / 1.022 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-06/0.9953, allocations: 3.953 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.9954, allocations: 48.77 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.9954, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9954, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.9955, allocations: 0 / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.92e-05/0.9955, allocations: 155.3 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.9956, allocations: 0 / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.9956, allocations: 7.953 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9956, allocations: 0 / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.9956, allocations: 4.031 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.9956, allocations: 0 / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9956, allocations: 0 / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.091e-05/0.9957, allocations: 60.5 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.9957, allocations: 77.11 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.9958, allocations: 3.953 kB / 1.022 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.9958, allocations: 4 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.9958, allocations: 4.031 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.9958, allocations: 0 / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.654e-05/0.9958, allocations: 75.28 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.9958, allocations: 0 / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002073/0.996, allocations: 4 kB / 1.022 GB, free: 1.051 MB / 0.6355 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 (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.0004011/0.9964, allocations: 0.6113 MB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.9965, allocations: 6.125 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.9965, allocations: 0 / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-06/0.9965, allocations: 4 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.034e-05/0.9966, allocations: 15.81 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.9969, allocations: 77.34 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.9972, allocations: 0.6731 MB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.9972, allocations: 9 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.9972, allocations: 7.438 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/0.9972, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/1.009, allocations: 0.8407 MB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.009, allocations: 174.7 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.51, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)