Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.882/1.882, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 180.9 kB / 361.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 97.34 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.855e-05, allocations: 8 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7301/0.7302, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.9219, allocations: 137.2 MB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.9222, allocations: 73.5 kB / 1.099 GB, free: 2.438 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002569/0.9248, allocations: 0.7747 MB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.507e-06/0.9248, allocations: 3.984 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.9248, allocations: 0 / 1.099 GB, free: 1.68 MB / 0.698 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.0003895/0.9252, allocations: 345.2 kB / 1.1 GB, free: 1.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9253, allocations: 8.719 kB / 1.1 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.9253, allocations: 7.875 kB / 1.1 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.9255, allocations: 170.6 kB / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.9255, allocations: 0 / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.9255, allocations: 0.6562 kB / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001225/0.9256, allocations: 15.98 kB / 1.1 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.42e-05/0.9257, allocations: 42.23 kB / 1.1 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9258, allocations: 0.7812 kB / 1.1 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.9258, allocations: 0 / 1.1 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9258, allocations: 0.6875 kB / 1.1 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.9263, allocations: 251.8 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.053e-05/0.9264, allocations: 31.06 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.387e-05/0.9265, allocations: 14.23 kB / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.9265, allocations: 0 / 1.1 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.9266, allocations: 39 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.9266, allocations: 0.625 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.00027/0.9269, allocations: 46.94 kB / 1.1 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.9269, allocations: 51.41 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.927, allocations: 93 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.927, allocations: 30.48 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.9271, allocations: 92.62 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.9271, allocations: 3.938 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.9272, allocations: 0.9375 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.9274, allocations: 311.4 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.9274, allocations: 8 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.385e-05/0.9274, allocations: 8.328 kB / 1.101 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.951e-05/0.9275, allocations: 21.62 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9275, allocations: 0 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/0.9277, allocations: 53.53 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.9277, allocations: 5.312 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9277, allocations: 0.5312 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9277, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.9278, allocations: 19.23 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9279, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.9279, allocations: 4.938 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.928, allocations: 2.281 kB / 1.101 GB, free: 15.88 MB / 0.7136 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 9.952e-05/0.9281, allocations: 108.9 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001338/0.9282, allocations: 49.56 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.9282, allocations: 0 / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.9284, allocations: 73.64 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.9284, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.9284, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9284, allocations: 0 / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.9286, allocations: 142.2 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.9286, allocations: 0 / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.9287, allocations: 12 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.9287, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.9287, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.9288, allocations: 8.016 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9288, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.9289, allocations: 149.7 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.929, allocations: 77.11 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.929, allocations: 3.938 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.9291, allocations: 8 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.9291, allocations: 9.422 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.9292, allocations: 0 / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.9292, allocations: 79.28 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9292, allocations: 0 / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002288/0.9294, allocations: 8 kB / 1.102 GB, free: 15.08 MB / 0.7136 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.0005405/0.93, allocations: 0.7069 MB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.9301, allocations: 16 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.9301, allocations: 0 / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.232e-05/0.9301, allocations: 11.94 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.9303, allocations: 5.719 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.9307, allocations: 95.98 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.9311, allocations: 0.6807 MB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.9311, allocations: 5.062 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.9312, allocations: 11.44 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/0.9312, allocations: 0 / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.9506, allocations: 0.8516 MB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/0.951, allocations: 144.5 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.427, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)