Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",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.586/1.586, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001242/0.001242, allocations: 181.5 kB / 326.5 MB, free: 2.242 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.995/1.995, 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.001011/0.001011, allocations: 99.03 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 9.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2053, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006756/0.206, allocations: 260.4 kB / 0.9004 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004136/0.2064, allocations: 181.6 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.2065, allocations: 4 kB / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.2065, allocations: 0 / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.2066, allocations: 0 / 0.9006 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2069, allocations: 47.8 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.097e-05/0.2069, allocations: 4 kB / 0.9006 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.207, allocations: 4 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.207, allocations: 8 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.207, allocations: 11.91 kB / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2071, allocations: 0 / 0.9006 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.2072, allocations: 111.8 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.2072, allocations: 4 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.2073, allocations: 33.58 kB / 0.9008 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.2074, allocations: 43.92 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2074, allocations: 0 / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2074, allocations: 0 / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2074, allocations: 0 / 0.9008 GB, free: 63.14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002655/0.2077, allocations: 335.4 kB / 0.9011 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2077, allocations: 12.03 kB / 0.9012 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.2078, allocations: 34.55 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.2078, allocations: 3.906 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.2079, allocations: 171.2 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.2079, allocations: 3.938 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.2079, allocations: 0 / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.71e-05/0.208, allocations: 41.69 kB / 0.9014 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.208, allocations: 0 / 0.9014 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.208, allocations: 4 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2081, allocations: 4 kB / 0.9014 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.2081, allocations: 11.94 kB / 0.9014 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001287/0.2082, allocations: 161.7 kB / 0.9016 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.884e-05/0.2083, allocations: 26.56 kB / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.2083, allocations: 0 / 0.9016 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2083, allocations: 34.62 kB / 0.9016 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.2083, allocations: 4 kB / 0.9016 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004501/0.2088, allocations: 294.3 kB / 0.9019 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.2088, allocations: 51.41 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.453e-05/0.2089, allocations: 113.8 kB / 0.9021 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.347e-06/0.2089, allocations: 25.7 kB / 0.9021 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.209, allocations: 92.08 kB / 0.9022 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.209, allocations: 12.02 kB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.209, allocations: 4 kB / 0.9022 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.209, allocations: 318.8 kB / 0.9025 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.2091, allocations: 15.98 kB / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-05/0.2091, allocations: 21.72 kB / 0.9025 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.2091, allocations: 15.98 kB / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2091, allocations: 0 / 0.9026 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.401e-05/0.2092, allocations: 69.77 kB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2092, allocations: 4 kB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2092, allocations: 4 kB / 0.9026 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2093, allocations: 3.984 kB / 0.9026 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.2093, allocations: 8 kB / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2093, allocations: 4 kB / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.2094, allocations: 0 / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2094, allocations: 0 / 0.9026 GB, free: 61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.458e-05/0.2094, allocations: 121.7 kB / 0.9028 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.2094, allocations: 7.969 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.2096, allocations: 81.45 kB / 0.9028 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2096, allocations: 0 / 0.9028 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2096, allocations: 4 kB / 0.9028 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2096, allocations: 0 / 0.9028 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.64e-05/0.2097, allocations: 169.6 kB / 0.903 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2097, allocations: 0 / 0.903 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.2097, allocations: 4 kB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2097, allocations: 4 kB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.2097, allocations: 0 / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2098, allocations: 4 kB / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2098, allocations: 0 / 0.903 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2099, allocations: 101.1 kB / 0.9031 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2099, allocations: 92.89 kB / 0.9032 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.2099, allocations: 0 / 0.9032 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.21, allocations: 0 / 0.9032 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.21, allocations: 4 kB / 0.9032 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.21, allocations: 64 / 0.9032 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.21, allocations: 95.27 kB / 0.9033 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2101, allocations: 0 / 0.9033 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001927/0.2102, allocations: 16 kB / 0.9033 GB, free: 60.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0003035/0.2106, allocations: 0.6554 MB / 0.904 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.758e-05/0.2106, allocations: 35.97 kB / 0.904 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2107, allocations: 0 / 0.904 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.2107, allocations: 16 kB / 0.904 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.2108, allocations: 8.344 kB / 0.904 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.2113, allocations: 0.6192 MB / 0.9046 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.2114, allocations: 0.6809 MB / 0.9053 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.2114, allocations: 7.984 kB / 0.9053 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.2115, allocations: 11.44 kB / 0.9053 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of SimCode: time 1.91e-07/0.2115, allocations: 0 / 0.9053 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.2223, allocations: 1.651 MB / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/0.2225, allocations: 207.4 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/1.767, allocations: 3.641 kB / 0.9071 GB, free: 56.35 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)