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.512/1.512, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009987/0.0009987, allocations: 171.1 kB / 327 MB, free: 2.102 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.756/1.756, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007067/0.0007066, allocations: 94.34 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003027, allocations: 10.72 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1994, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005792/0.2, allocations: 273.3 kB / 0.9012 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000463/0.2005, allocations: 200.7 kB / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.627e-05/0.2005, allocations: 0 / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.2006, allocations: 0 / 0.9014 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.2006, allocations: 4 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2009, allocations: 39.86 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.201, allocations: 15.94 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.201, allocations: 3.984 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.2011, allocations: 7.938 kB / 0.9014 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.034e-05/0.2011, allocations: 11.98 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2011, allocations: 0 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.2013, allocations: 127.8 kB / 0.9016 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.2014, allocations: 7.984 kB / 0.9016 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.2014, allocations: 33.64 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2015, allocations: 71.83 kB / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2016, allocations: 0 / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2016, allocations: 0 / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2016, allocations: 0 / 0.9017 GB, free: 62.64 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.0002545/0.2018, allocations: 323.6 kB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2019, allocations: 12.03 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.2019, allocations: 38.75 kB / 0.902 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.2019, allocations: 4.844 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.189e-05/0.202, allocations: 168.6 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.202, allocations: 384 / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2021, allocations: 4.359 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.992e-05/0.2022, allocations: 46.14 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2022, allocations: 3.938 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2022, allocations: 0 / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2022, allocations: 4 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.2022, allocations: 15.98 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.2024, allocations: 161.6 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.942e-05/0.2024, allocations: 22.61 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.2024, allocations: 16.91 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.2025, allocations: 0 / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2025, allocations: 42.5 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2025, allocations: 4 kB / 0.9025 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004534/0.203, allocations: 294.2 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.203, allocations: 55.41 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.2031, allocations: 105.8 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2031, allocations: 25.7 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.2031, allocations: 88.14 kB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.2031, allocations: 8.125 kB / 0.903 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.2031, allocations: 4 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.294e-05/0.2032, allocations: 318.8 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.2032, allocations: 8 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.2032, allocations: 29.7 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.2033, allocations: 41.64 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2033, allocations: 4 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.398e-05/0.2034, allocations: 69.53 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2034, allocations: 7.938 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2034, allocations: 0 / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2034, allocations: 4 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/0.2035, allocations: 11.92 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2035, allocations: 0 / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.2035, allocations: 4 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2035, allocations: 320 / 0.9035 GB, free: 60.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.2036, allocations: 117.9 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.2036, allocations: 3.938 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2037, allocations: 77.69 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2037, allocations: 3.938 kB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2038, allocations: 0 / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2038, allocations: 0 / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.27e-05/0.2038, allocations: 165.7 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2038, allocations: 0 / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.2039, allocations: 7.938 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2039, allocations: 11.94 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.2039, allocations: 4 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2039, allocations: 0 / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2039, allocations: 0 / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.2041, allocations: 109 kB / 0.904 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.2041, allocations: 81.05 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.2041, allocations: 0 / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.2042, allocations: 0 / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.2042, allocations: 8.094 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.2042, allocations: 4 kB / 0.9041 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.776e-05/0.2042, allocations: 95.25 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2042, allocations: 0 / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002154/0.2044, allocations: 20 kB / 0.9042 GB, free: 59.65 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 (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.0003023/0.2048, allocations: 0.6631 MB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.2048, allocations: 31.98 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2048, allocations: 0 / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.2049, allocations: 15.94 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.205, allocations: 7.984 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.2058, allocations: 1.244 MB / 0.9061 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.2059, allocations: 0.6926 MB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.2059, allocations: 4 kB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.206, allocations: 15.44 kB / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.206, allocations: 0 / 0.9068 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.4651, allocations: 1.667 MB / 0.9084 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.4654, allocations: 239.7 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.289, allocations: 4.062 kB / 0.9087 GB, free: 55.07 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)