Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Polynominal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 196.2 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 292.3 MB / 0.5486 GB, free: 13.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 72.83 kB / 0.6711 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2136, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002337/0.216, allocations: 1.491 MB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.2162, allocations: 100.6 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.2163, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.34e-05/0.2164, allocations: 0 / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.2164, allocations: 3.938 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.2166, allocations: 23.98 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.2167, allocations: 23.86 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.678e-05/0.2168, allocations: 11.98 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.2168, allocations: 7.984 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.2169, allocations: 15.92 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.2169, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.217, allocations: 19.98 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.217, allocations: 4 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.217, allocations: 11.94 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2171, allocations: 43.75 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2172, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.754e-06/0.2172, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2172, allocations: 0 / 0.7847 GB, free: 11.98 MB / 0.6075 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.0003975/0.2176, allocations: 343.7 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2176, allocations: 12.03 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.2177, allocations: 34.73 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.428e-05/0.2177, allocations: 4.844 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.727e-05/0.2178, allocations: 164.4 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.2178, allocations: 4.375 kB / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.2178, allocations: 384 / 0.7852 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.218, allocations: 58.22 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.218, allocations: 3.938 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.218, allocations: 0 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.218, allocations: 0 / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.2182, allocations: 39.89 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.2185, allocations: 257 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2186, allocations: 42.5 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.2187, allocations: 24.91 kB / 0.7856 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2187, allocations: 7.922 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2188, allocations: 38.56 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2188, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003161/0.2191, allocations: 89.48 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.2191, allocations: 55.41 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.318e-05/0.2192, allocations: 109.8 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.2192, allocations: 25.7 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2193, allocations: 88.27 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.2193, allocations: 7.844 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.2193, allocations: 13.72 kB / 0.786 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.2194, allocations: 314.8 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.2195, allocations: 19.97 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.2196, allocations: 19.98 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.2197, allocations: 48.81 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2197, allocations: 3.938 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/0.2199, allocations: 65.67 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2199, allocations: 7.984 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2199, allocations: 0 / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.2199, allocations: 0 / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.22, allocations: 8 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.22, allocations: 4.031 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.2201, allocations: 7.984 kB / 0.7865 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.2201, allocations: 0 / 0.7865 GB, free: 9.859 MB / 0.6075 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 6.239e-05/0.2202, allocations: 118.4 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.2202, allocations: 4 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.2204, allocations: 81.11 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2204, allocations: 4.031 kB / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2204, allocations: 0 / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2204, allocations: 0 / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2206, allocations: 165.6 kB / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2206, allocations: 0 / 0.7869 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.2206, allocations: 8 kB / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2206, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2206, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2207, allocations: 0 / 0.7869 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2207, allocations: 3.984 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2209, allocations: 183.2 kB / 0.7871 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.2209, allocations: 77.11 kB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.2209, allocations: 256 / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.221, allocations: 4 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.221, allocations: 11.98 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2211, allocations: 4.031 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.2211, allocations: 83.28 kB / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2211, allocations: 0 / 0.7872 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002055/0.2213, allocations: 8 kB / 0.7872 GB, free: 9.016 MB / 0.6075 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.0004625/0.2218, allocations: 0.7046 MB / 0.7879 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.222, allocations: 47.89 kB / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.222, allocations: 0 / 0.788 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.2221, allocations: 15.98 kB / 0.788 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.2223, allocations: 8 kB / 0.788 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.2227, allocations: 155.2 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.2229, allocations: 0.6807 MB / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.091e-05/0.2229, allocations: 0 / 0.7888 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.223, allocations: 11.44 kB / 0.7888 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.223, allocations: 0 / 0.7888 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.206/1.429, allocations: 1.277 MB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/1.429, allocations: 195.2 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.779, allocations: 0 / 0.7903 GB, free: 5.871 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Polynominal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Polynominal.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)