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.388/1.388, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001142/0.001142, allocations: 180.5 kB / 326.5 MB, free: 2.246 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.871/1.871, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0007993/0.0007993, allocations: 87.69 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 11.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2094, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001575/0.211, allocations: 1.16 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.2112, allocations: 88.62 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.367e-05/0.2113, allocations: 0 / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.2113, allocations: 0 / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.2114, allocations: 15.92 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.2116, allocations: 11.98 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.2116, allocations: 12 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/0.2117, allocations: 7.969 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.2118, allocations: 4 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.2118, allocations: 15.92 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2118, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.2119, allocations: 15.98 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.175e-05/0.212, allocations: 0 / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.212, allocations: 37.64 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.2121, allocations: 23.95 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2121, allocations: 0 / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2121, allocations: 0 / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2121, allocations: 0 / 0.9015 GB, free: 62.43 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.0003918/0.2125, allocations: 345.5 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2125, allocations: 8.031 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.2126, allocations: 34.56 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.2126, allocations: 3.906 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.2127, allocations: 182.9 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2127, allocations: 3.984 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.2127, allocations: 0 / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.2129, allocations: 57.67 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2129, allocations: 3.938 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.2129, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2129, allocations: 4 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.2131, allocations: 43.97 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.2134, allocations: 256.9 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.2135, allocations: 50.55 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.2136, allocations: 0 / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2136, allocations: 38.56 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2136, allocations: 0 / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003308/0.2139, allocations: 101.6 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.214, allocations: 51.41 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.214, allocations: 105.8 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.214, allocations: 29.83 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.2141, allocations: 92.05 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.2141, allocations: 0 / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.2141, allocations: 0 / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.2142, allocations: 330.7 kB / 0.9032 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.2142, allocations: 19.98 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.167e-05/0.2143, allocations: 27.98 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.705e-05/0.2144, allocations: 23.92 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2144, allocations: 0 / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001761/0.2146, allocations: 89.62 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2146, allocations: 4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2146, allocations: 0 / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2146, allocations: 4 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.2147, allocations: 11.98 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2147, allocations: 0 / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.464e-05/0.2148, allocations: 12.02 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.2148, allocations: 3.938 kB / 0.9034 GB, free: 60.31 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 4.55e-05/0.2148, allocations: 113.8 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.2149, allocations: 0 / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.2151, allocations: 97.11 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2151, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2151, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2151, allocations: 0 / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2152, allocations: 161.6 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2152, allocations: 0 / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.2153, allocations: 11.98 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2153, allocations: 4 kB / 0.9037 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2153, allocations: 4.031 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2153, allocations: 256 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2153, allocations: 0 / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2155, allocations: 191.3 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.2156, allocations: 81.09 kB / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2156, allocations: 0 / 0.904 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.2157, allocations: 8 kB / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2157, allocations: 7.984 kB / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.2157, allocations: 0 / 0.904 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.2157, allocations: 83.28 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2157, allocations: 0 / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002175/0.216, allocations: 19.97 kB / 0.9041 GB, free: 59.45 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.0003951/0.2164, allocations: 0.7164 MB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.2166, allocations: 47.91 kB / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2166, allocations: 0 / 0.9048 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.2167, allocations: 32.03 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.2169, allocations: 7.938 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.2172, allocations: 146.3 kB / 0.905 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.2174, allocations: 0.6809 MB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.2174, allocations: 8.062 kB / 0.9057 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.2174, allocations: 11.44 kB / 0.9057 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2174, allocations: 0 / 0.9057 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009712/0.2271, allocations: 1.153 MB / 0.9068 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.2273, allocations: 183 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/1.671, allocations: 0 / 0.907 GB, free: 56.45 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)