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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 252 MB / 268 MB, free: 10.87 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.000956/0.000956, allocations: 184.6 kB / 327.6 MB, free: 2.098 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.518/1.518, allocations: 205.4 MB / 0.5786 GB, free: 20.21 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.0007841/0.0007842, allocations: 90.3 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 12.09 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006701/0.1995, allocations: 269.5 kB / 0.9017 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.2, allocations: 200.7 kB / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.2, allocations: 0 / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.2001, allocations: 3.938 kB / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/0.2001, allocations: 0 / 0.9019 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.2004, allocations: 43.92 kB / 0.9019 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.2005, allocations: 15.94 kB / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.2005, allocations: 3.984 kB / 0.902 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.2006, allocations: 4 kB / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.2006, allocations: 3.938 kB / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2006, allocations: 4 kB / 0.902 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.2008, allocations: 127.8 kB / 0.9021 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.2009, allocations: 7.984 kB / 0.9021 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2009, allocations: 29.64 kB / 0.9021 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.847e-05/0.201, allocations: 47.92 kB / 0.9022 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2011, allocations: 3.938 kB / 0.9022 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2011, allocations: 0 / 0.9022 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2011, allocations: 3.938 kB / 0.9022 GB, free: 62.77 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.0002713/0.2014, allocations: 335.5 kB / 0.9025 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2014, allocations: 12.03 kB / 0.9025 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.2014, allocations: 8.844 kB / 0.9025 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.2015, allocations: 172.6 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2015, allocations: 384 / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.2016, allocations: 384 / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.13e-05/0.2016, allocations: 38.27 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2017, allocations: 192 / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2017, allocations: 3.938 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2017, allocations: 0 / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.215e-05/0.2017, allocations: 11.98 kB / 0.9027 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.2018, allocations: 161.7 kB / 0.9029 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.2019, allocations: 26.55 kB / 0.9029 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.2019, allocations: 16.91 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.202, allocations: 11.98 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.202, allocations: 30.56 kB / 0.903 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.202, allocations: 0 / 0.903 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.000442/0.2024, allocations: 302.3 kB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.2025, allocations: 55.41 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.2025, allocations: 105.8 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.485e-06/0.2025, allocations: 29.7 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.144e-05/0.2026, allocations: 84.14 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2026, allocations: 11.89 kB / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.2026, allocations: 0 / 0.9035 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.2027, allocations: 318.9 kB / 0.9038 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.2027, allocations: 15.94 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.2027, allocations: 25.7 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.2028, allocations: 37.7 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.2028, allocations: 0 / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.371e-05/0.2028, allocations: 69.53 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2029, allocations: 12 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2029, allocations: 4 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2029, allocations: 0 / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.2029, allocations: 11.92 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.203, allocations: 4 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.203, allocations: 4 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.203, allocations: 4 kB / 0.904 GB, free: 60.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.203, allocations: 109.8 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.2031, allocations: 3.938 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.2032, allocations: 85.59 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2032, allocations: 4.031 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2032, allocations: 0 / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2032, allocations: 0 / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.894e-05/0.2033, allocations: 165.7 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2033, allocations: 0 / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.2033, allocations: 8 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2033, allocations: 3.938 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.2034, allocations: 0 / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2034, allocations: 0 / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2034, allocations: 4 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2035, allocations: 112.9 kB / 0.9045 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.2035, allocations: 77.11 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.2035, allocations: 3.938 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.2036, allocations: 0 / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.2036, allocations: 4.031 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.2036, allocations: 0 / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.2037, allocations: 95.33 kB / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2037, allocations: 0 / 0.9047 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001868/0.2039, allocations: 16 kB / 0.9047 GB, free: 59.82 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.0001504/0.204, allocations: 119.2 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.656e-05/0.2041, allocations: 35.91 kB / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2041, allocations: 0 / 0.9048 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.2041, allocations: 12 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2043, allocations: 4 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.2045, allocations: 174.5 kB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.828e-05/0.2046, allocations: 0.677 MB / 0.9057 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.2046, allocations: 11.44 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/0.2046, allocations: 0 / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of Templates: time 0.001925/0.2066, allocations: 0.8505 MB / 0.9065 GB, free: 57.88 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)