Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",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.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.035/1.035, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2143, allocations: 82.03 MB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.003251/0.2176, allocations: 1.432 MB / 0.5958 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004191/0.2181, allocations: 92.53 kB / 0.5959 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.2182, allocations: 0 / 0.5959 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.2183, allocations: 3.938 kB / 0.5959 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.2184, allocations: 11.92 kB / 0.5959 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.2187, allocations: 15.98 kB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.202e-05/0.2188, allocations: 23.92 kB / 0.5959 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2189, allocations: 7.984 kB / 0.5959 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.219, allocations: 4 kB / 0.5959 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2191, allocations: 15.92 kB / 0.5959 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2191, allocations: 8 kB / 0.596 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.2192, allocations: 15.98 kB / 0.596 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.2193, allocations: 7.984 kB / 0.596 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.2193, allocations: 11.94 kB / 0.596 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.2195, allocations: 43.88 kB / 0.596 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2195, allocations: 0 / 0.596 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2195, allocations: 0 / 0.596 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2195, allocations: 0 / 0.596 GB, free: 7.828 MB / 0.4981 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.0005331/0.22, allocations: 343.7 kB / 0.5964 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.2201, allocations: 12.03 kB / 0.5964 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.2201, allocations: 34.69 kB / 0.5964 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.2202, allocations: 4.938 kB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2203, allocations: 164.3 kB / 0.5966 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2203, allocations: 8.297 kB / 0.5966 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2204, allocations: 4.375 kB / 0.5966 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.2205, allocations: 50.23 kB / 0.5966 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2206, allocations: 7.875 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2206, allocations: 0 / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2206, allocations: 4 kB / 0.5966 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.2208, allocations: 31.97 kB / 0.5967 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.2212, allocations: 256.9 kB / 0.5969 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.2213, allocations: 46.48 kB / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.2214, allocations: 28.91 kB / 0.597 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.881e-05/0.2214, allocations: 4 kB / 0.597 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2215, allocations: 34.56 kB / 0.597 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2215, allocations: 0 / 0.597 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000374/0.2219, allocations: 89.58 kB / 0.5971 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.091e-05/0.222, allocations: 55.53 kB / 0.5972 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.222, allocations: 105.8 kB / 0.5973 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.2221, allocations: 25.7 kB / 0.5973 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.904e-05/0.2222, allocations: 88.05 kB / 0.5974 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.2222, allocations: 11.92 kB / 0.5974 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.2222, allocations: 9.719 kB / 0.5974 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2224, allocations: 318.8 kB / 0.5977 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.2225, allocations: 15.98 kB / 0.5977 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.2225, allocations: 23.97 kB / 0.5977 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2227, allocations: 36.83 kB / 0.5978 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.2227, allocations: 3.938 kB / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002081/0.2229, allocations: 85.55 kB / 0.5979 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2229, allocations: 4 kB / 0.5979 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.223, allocations: 0 / 0.5979 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.223, allocations: 0 / 0.5979 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.355e-05/0.2231, allocations: 11.98 kB / 0.5979 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2231, allocations: 0 / 0.5979 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.2231, allocations: 7.984 kB / 0.5979 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2232, allocations: 4 kB / 0.5979 GB, free: 5.699 MB / 0.4981 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 8.554e-05/0.2232, allocations: 113.8 kB / 0.598 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.2233, allocations: 4.031 kB / 0.598 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.2235, allocations: 77.12 kB / 0.5981 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2235, allocations: 3.938 kB / 0.5981 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2236, allocations: 4 kB / 0.5981 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2236, allocations: 0 / 0.5981 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.2237, allocations: 161.6 kB / 0.5982 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.2238, allocations: 0 / 0.5982 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.2238, allocations: 16.02 kB / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2238, allocations: 0 / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2238, allocations: 0 / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2239, allocations: 0 / 0.5982 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2239, allocations: 3.938 kB / 0.5982 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.2241, allocations: 171.4 kB / 0.5984 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.2242, allocations: 81.14 kB / 0.5985 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2242, allocations: 4 kB / 0.5985 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.2243, allocations: 8.234 kB / 0.5985 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2243, allocations: 3.938 kB / 0.5985 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.2243, allocations: 4 kB / 0.5985 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.2244, allocations: 87.27 kB / 0.5986 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2244, allocations: 0 / 0.5986 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002195/0.2246, allocations: 8 kB / 0.5986 GB, free: 4.859 MB / 0.4981 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.0006674/0.2253, allocations: 0.7007 MB / 0.5993 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.2255, allocations: 47.89 kB / 0.5993 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.2255, allocations: 4.094 kB / 0.5993 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.2256, allocations: 15.98 kB / 0.5993 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2259, allocations: 15.92 kB / 0.5994 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004754/0.2264, allocations: 147 kB / 0.5995 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.2267, allocations: 0.6768 MB / 0.6002 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.2267, allocations: 8.062 kB / 0.6002 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.2268, allocations: 15.42 kB / 0.6002 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2268, allocations: 0 / 0.6002 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2478, allocations: 1.402 MB / 0.6016 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.845, allocations: 10.86 kB / 0.6016 GB, free: 1.797 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)