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.314/1.314, allocations: 252 MB / 267.3 MB, free: 10.86 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.001023/0.001023, allocations: 178.4 kB / 327 MB, free: 2.133 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.00071/0.00071, allocations: 82.05 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 11.22 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1991, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001597/0.2007, allocations: 1.168 MB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003091/0.201, allocations: 100.6 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.201, allocations: 0 / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.742e-05/0.2011, allocations: 3.984 kB / 0.9022 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.2012, allocations: 7.938 kB / 0.9022 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.2014, allocations: 11.98 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.2014, allocations: 19.94 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.2015, allocations: 7.984 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.2016, allocations: 11.94 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.973e-05/0.2016, allocations: 7.984 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.2016, allocations: 4 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2018, allocations: 15.98 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.2018, allocations: 15.92 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.2018, allocations: 33.62 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.934e-05/0.202, allocations: 35.89 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.202, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.202, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.202, allocations: 0 / 0.9023 GB, free: 61.99 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.0003619/0.2024, allocations: 339.9 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2024, allocations: 12.03 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.2024, allocations: 30.75 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.185e-05/0.2025, allocations: 4.844 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.289e-05/0.2025, allocations: 176.3 kB / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.2026, allocations: 384 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.2026, allocations: 384 / 0.9029 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.2027, allocations: 62.23 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2028, allocations: 3.938 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.2028, allocations: 0 / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.2028, allocations: 3.938 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.2029, allocations: 47.95 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.2032, allocations: 257 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2034, allocations: 50.44 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.2034, allocations: 36.89 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.2035, allocations: 3.984 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.2035, allocations: 34.56 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2035, allocations: 0 / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003363/0.2039, allocations: 109.5 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.2039, allocations: 51.41 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.204, allocations: 109.8 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.204, allocations: 25.7 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.204, allocations: 84.14 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.204, allocations: 4.031 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.204, allocations: 4 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.2041, allocations: 322.8 kB / 0.904 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.2042, allocations: 15.98 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.861e-05/0.2042, allocations: 23.98 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2044, allocations: 56.88 kB / 0.9041 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2044, allocations: 3.938 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.2046, allocations: 85.59 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2046, allocations: 10.91 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2046, allocations: 4 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2046, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.2047, allocations: 8 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2047, allocations: 3.984 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.2048, allocations: 12.03 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2048, allocations: 4 kB / 0.9042 GB, free: 59.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.2048, allocations: 110.4 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.2049, allocations: 7.984 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.2051, allocations: 85.19 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2051, allocations: 0 / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2051, allocations: 4 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2051, allocations: 0 / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2052, allocations: 169.4 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2052, allocations: 0 / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.2053, allocations: 12 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2053, allocations: 4.016 kB / 0.9046 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-06/0.2053, allocations: 4 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2053, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2053, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.2055, allocations: 179.5 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.2055, allocations: 81.05 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.2056, allocations: 4 kB / 0.9049 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.2056, allocations: 12.22 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2057, allocations: 0 / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.2057, allocations: 8 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.567e-05/0.2057, allocations: 87.27 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2057, allocations: 0 / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001939/0.2059, allocations: 15.97 kB / 0.905 GB, free: 58.94 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003904/0.2063, allocations: 0.7162 MB / 0.9057 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.2065, allocations: 51.95 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2065, allocations: 4 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.2066, allocations: 28.02 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2069, allocations: 6.531 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.2072, allocations: 154.3 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2074, allocations: 0.677 MB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.2074, allocations: 8.062 kB / 0.9066 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.2074, allocations: 11.44 kB / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2074, allocations: 0 / 0.9066 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.2177, allocations: 1.167 MB / 0.9077 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.2178, allocations: 203 kB / 0.9079 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/1.787, allocations: 0 / 0.9079 GB, free: 55.9 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)