Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal",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.396/1.396, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 175.5 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009968/0.0009966, allocations: 95.98 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003636, allocations: 12.56 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2386, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4203, allocations: 131.7 MB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.4206, allocations: 87.94 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002516/0.4232, allocations: 0.7701 MB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.747e-06/0.4232, allocations: 4 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.4232, allocations: 4 kB / 1.03 GB, free: 11.12 MB / 0.6823 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.0004682/0.4237, allocations: 347.2 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.4238, allocations: 12.03 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.4238, allocations: 30.56 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.4239, allocations: 3.906 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.424, allocations: 167 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.424, allocations: 7.984 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4241, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.4243, allocations: 61.61 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4243, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4243, allocations: 3.984 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4243, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.4245, allocations: 51.91 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.4251, allocations: 272.8 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.4252, allocations: 50.55 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.4253, allocations: 8 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4253, allocations: 34.56 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.4253, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003997/0.4257, allocations: 105.6 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.4258, allocations: 55.41 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.4259, allocations: 93 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4259, allocations: 29.83 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.426, allocations: 92.03 kB / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.426, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.426, allocations: 0 / 1.031 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4262, allocations: 318.8 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-05/0.4263, allocations: 23.97 kB / 1.031 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/0.4264, allocations: 35.86 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.4265, allocations: 23.98 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4265, allocations: 0 / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002116/0.4267, allocations: 85.62 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4267, allocations: 4 kB / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.4267, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4267, allocations: 0 / 1.031 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.4268, allocations: 11.98 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.4269, allocations: 4 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.4269, allocations: 12.02 kB / 1.031 GB, free: 9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.4269, allocations: 0 / 1.031 GB, free: 9 MB / 0.6823 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 (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 0.0001005/0.4271, allocations: 119.2 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.4271, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.4273, allocations: 97.36 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4274, allocations: 4 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.4274, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4274, allocations: 4 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.4276, allocations: 161.6 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4276, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.4276, allocations: 11.98 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4276, allocations: 0 / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.4277, allocations: 8.031 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4277, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4277, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.4279, allocations: 187.3 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.428, allocations: 77.11 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.428, allocations: 0 / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.748e-05/0.4281, allocations: 15.92 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4281, allocations: 4 kB / 1.032 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4281, allocations: 4 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.4282, allocations: 83.27 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4282, allocations: 0 / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002127/0.4284, allocations: 12.03 kB / 1.032 GB, free: 8.129 MB / 0.6823 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 (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.0006039/0.429, allocations: 0.7233 MB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.4293, allocations: 51.89 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4293, allocations: 0 / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.4294, allocations: 28.05 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.4296, allocations: 11.92 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.4301, allocations: 146.4 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4305, allocations: 0.677 MB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4305, allocations: 8.062 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.862e-05/0.4305, allocations: 11.42 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.4305, allocations: 0 / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.4425, allocations: 1.155 MB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.4427, allocations: 185.7 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/1.937, allocations: 0 / 1.035 GB, free: 5.113 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)