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.447/1.447, allocations: 252 MB / 267 MB, free: 10.96 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.001008/0.001008, allocations: 190.2 kB / 326.6 MB, free: 2.211 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.001/2.001, allocations: 205.4 MB / 0.5777 GB, free: 20.53 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.000913/0.000913, allocations: 93.23 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 12.84 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2662, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001749/0.268, allocations: 1.161 MB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.2684, allocations: 84.69 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.2684, allocations: 0 / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.961e-05/0.2685, allocations: 7.938 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.725e-05/0.2685, allocations: 0 / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.2688, allocations: 15.98 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.2688, allocations: 23.92 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.2689, allocations: 4 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.368e-05/0.269, allocations: 19.91 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.2691, allocations: 4 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2691, allocations: 0 / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.92e-05/0.2692, allocations: 19.92 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.2692, allocations: 3.984 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.2692, allocations: 33.7 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.613e-05/0.2693, allocations: 23.91 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2694, allocations: 0 / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2694, allocations: 0 / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2694, allocations: 0 / 0.9017 GB, free: 62.77 MB / 0.6042 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.0004299/0.2698, allocations: 339.7 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2699, allocations: 12.03 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.2699, allocations: 34.55 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.2699, allocations: 3.906 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2701, allocations: 178.9 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2701, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.2701, allocations: 7.922 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2703, allocations: 57.67 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2703, allocations: 0 / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.2703, allocations: 4 kB / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2703, allocations: 0 / 0.9023 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2705, allocations: 51.95 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.2708, allocations: 260.8 kB / 0.9026 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2709, allocations: 46.56 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.271, allocations: 28.91 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.2711, allocations: 3.984 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2711, allocations: 38.56 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2711, allocations: 4 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003616/0.2715, allocations: 101.6 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2715, allocations: 55.53 kB / 0.9028 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.2716, allocations: 109.8 kB / 0.9029 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2716, allocations: 25.7 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.2716, allocations: 92.05 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.2717, allocations: 0 / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.2717, allocations: 0 / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.2717, allocations: 310.8 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.2718, allocations: 31.97 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.2719, allocations: 23.98 kB / 0.9034 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.272, allocations: 19.98 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.272, allocations: 0 / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.2722, allocations: 85.62 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2723, allocations: 4 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2723, allocations: 3.938 kB / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2723, allocations: 0 / 0.9035 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.2724, allocations: 24.02 kB / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2724, allocations: 0 / 0.9035 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.2724, allocations: 7.984 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2725, allocations: 3.953 kB / 0.9036 GB, free: 60.62 MB / 0.6042 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 5.215e-05/0.2725, allocations: 113.8 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2725, allocations: 0 / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.2728, allocations: 89.19 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2728, allocations: 0 / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-06/0.2728, allocations: 3.938 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2728, allocations: 3.984 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.2729, allocations: 161.6 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.273, allocations: 0 / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.273, allocations: 19.95 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.273, allocations: 0 / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.273, allocations: 4 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.273, allocations: 0 / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.273, allocations: 3.984 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2733, allocations: 183.4 kB / 0.9041 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.2733, allocations: 77.11 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2733, allocations: 0 / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.2734, allocations: 11.98 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2734, allocations: 4.25 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2735, allocations: 0 / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.2735, allocations: 95.3 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 0 / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001979/0.2737, allocations: 8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 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.0004628/0.2742, allocations: 0.7201 MB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.2744, allocations: 52 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2744, allocations: 0 / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.2745, allocations: 27.97 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.2748, allocations: 7.938 kB / 0.9051 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.2752, allocations: 146.4 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2754, allocations: 0.6848 MB / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.2754, allocations: 0 / 0.9059 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.2755, allocations: 11.44 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2755, allocations: 4 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.2878, allocations: 1.166 MB / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.2881, allocations: 194.2 kB / 0.9072 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.922, allocations: 0 / 0.9072 GB, free: 56.74 MB / 0.6042 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)