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.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11 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.001006/0.001006, allocations: 172.2 kB / 326.5 MB, free: 2.234 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.747/1.747, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0007883/0.0007882, allocations: 98.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.000322, allocations: 11.84 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0005946/0.1955, allocations: 333.2 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.1957, allocations: 36.58 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-06/0.1957, allocations: 0 / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.1957, allocations: 3.938 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.1957, allocations: 0 / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.196, allocations: 8 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.272e-05/0.196, allocations: 0 / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.404e-05/0.196, allocations: 0 / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.1961, allocations: 4 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.1961, allocations: 3.984 kB / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1961, allocations: 0 / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.1962, allocations: 19.98 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-06/0.1962, allocations: 3.938 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.1963, allocations: 25.7 kB / 0.9006 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.801e-05/0.1963, allocations: 11.97 kB / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1963, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1963, allocations: 0 / 0.9006 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1963, allocations: 4 kB / 0.9006 GB, free: 63.37 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001943/0.1965, allocations: 307.4 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1966, allocations: 8.094 kB / 0.9009 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.7e-05/0.1966, allocations: 38.56 kB / 0.9009 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.1966, allocations: 11.94 kB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.07e-05/0.1967, allocations: 167 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1967, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.1967, allocations: 0 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.1968, allocations: 29.7 kB / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1968, allocations: 0 / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.1968, allocations: 0 / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1968, allocations: 0 / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.909e-05/0.1969, allocations: 0 / 0.9011 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.66e-05/0.197, allocations: 161.6 kB / 0.9013 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.758e-05/0.197, allocations: 22.52 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.197, allocations: 96 / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.197, allocations: 35.88 kB / 0.9013 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1971, allocations: 0 / 0.9013 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 9.641e-05/0.1972, allocations: 29.7 kB / 0.9014 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.1972, allocations: 55.52 kB / 0.9014 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.59e-05/0.1972, allocations: 93.86 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.1972, allocations: 25.7 kB / 0.9015 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-06/0.1972, allocations: 88.08 kB / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.1973, allocations: 4 kB / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-06/0.1973, allocations: 0 / 0.9016 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.1973, allocations: 310.8 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.1973, allocations: 0 / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.1973, allocations: 4 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.493e-05/0.1973, allocations: 4.062 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1974, allocations: 3.953 kB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.406e-05/0.1974, allocations: 33.69 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1974, allocations: 8 kB / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1974, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1974, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.94e-05/0.1975, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1975, allocations: 0 / 0.902 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.1975, allocations: 4 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1975, allocations: 3.938 kB / 0.902 GB, free: 61.73 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 (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 4.15e-05/0.1976, allocations: 117.8 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-06/0.1976, allocations: 3.953 kB / 0.9021 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.183e-05/0.1977, allocations: 40.81 kB / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1977, allocations: 0 / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1977, allocations: 0 / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1977, allocations: 0 / 0.9021 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.067e-05/0.1978, allocations: 157.7 kB / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1978, allocations: 0 / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.1978, allocations: 3.953 kB / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1978, allocations: 0 / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1978, allocations: 0 / 0.9023 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1978, allocations: 7.938 kB / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1978, allocations: 0 / 0.9023 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.249e-05/0.1979, allocations: 57.06 kB / 0.9023 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.1979, allocations: 85.14 kB / 0.9024 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1979, allocations: 7.953 kB / 0.9024 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.1979, allocations: 0 / 0.9024 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-06/0.198, allocations: 0 / 0.9024 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.198, allocations: 4 kB / 0.9024 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.118e-05/0.198, allocations: 75.28 kB / 0.9025 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.198, allocations: 0 / 0.9025 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002149/0.1982, allocations: 8 kB / 0.9025 GB, free: 61.07 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 (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.0002363/0.1984, allocations: 0.5968 MB / 0.9031 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.42e-05/0.1985, allocations: 4 kB / 0.9031 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1985, allocations: 0 / 0.9031 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.1985, allocations: 4 kB / 0.9031 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.284e-05/0.1986, allocations: 11.88 kB / 0.9031 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.1988, allocations: 100.6 kB / 0.9032 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.1989, allocations: 0.6812 MB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.199, allocations: 0 / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.199, allocations: 7.438 kB / 0.9039 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.199, allocations: 0 / 0.9039 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.2093, allocations: 0.8229 MB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.2095, allocations: 198.9 kB / 0.9049 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.38/1.589, allocations: 11.88 kB / 0.9049 GB, free: 58.64 MB / 0.6042 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)