Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.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: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009063/0.0009064, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001043/0.001043, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.64/1.64, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005383/0.0005383, allocations: 16.06 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2294, allocations: 116.3 MB / 0.7871 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005925/0.23, allocations: 260.4 kB / 0.7873 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003831/0.2304, allocations: 185.2 kB / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.2304, allocations: 0 / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.2305, allocations: 0 / 0.7875 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.2305, allocations: 4 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.2308, allocations: 43.88 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.408e-05/0.2308, allocations: 7.922 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.2309, allocations: 4 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.2309, allocations: 0 / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.2309, allocations: 12 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.231, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.2311, allocations: 115.8 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.2312, allocations: 7.984 kB / 0.7877 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.2312, allocations: 25.7 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.909e-05/0.2313, allocations: 47.88 kB / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.2313, allocations: 0 / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2313, allocations: 0 / 0.7878 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.2313, allocations: 0 / 0.7878 GB, free: 11.31 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002822/0.2316, allocations: 335.5 kB / 0.7881 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2316, allocations: 16.03 kB / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.2317, allocations: 0 / 0.7881 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.2318, allocations: 178.9 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2318, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2318, allocations: 3.984 kB / 0.7883 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.2319, allocations: 41.64 kB / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.2319, allocations: 0 / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2319, allocations: 0 / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.232, allocations: 0 / 0.7883 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.232, allocations: 15.98 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2321, allocations: 161.6 kB / 0.7885 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.369e-05/0.2322, allocations: 22.61 kB / 0.7885 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.2322, allocations: 8.047 kB / 0.7885 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2322, allocations: 38.5 kB / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2323, allocations: 0 / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004607/0.2327, allocations: 302.3 kB / 0.7889 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.2328, allocations: 51.41 kB / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.639e-05/0.2328, allocations: 109.8 kB / 0.789 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2329, allocations: 25.7 kB / 0.789 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.2329, allocations: 84.14 kB / 0.7891 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.2329, allocations: 11.84 kB / 0.7891 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.2329, allocations: 4 kB / 0.7891 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.233, allocations: 319 kB / 0.7894 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.2331, allocations: 8 kB / 0.7894 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.2331, allocations: 29.7 kB / 0.7895 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.511e-05/0.2331, allocations: 12 kB / 0.7895 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.2331, allocations: 3.938 kB / 0.7895 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.531e-05/0.2332, allocations: 77.48 kB / 0.7896 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2332, allocations: 7.938 kB / 0.7896 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2332, allocations: 8.047 kB / 0.7896 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.2333, allocations: 0 / 0.7896 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.2333, allocations: 8 kB / 0.7896 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2333, allocations: 0 / 0.7896 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.2333, allocations: 0 / 0.7896 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.2334, allocations: 4 kB / 0.7896 GB, free: 9.195 MB / 0.6075 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 6.878e-05/0.2334, allocations: 113.8 kB / 0.7897 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-06/0.2334, allocations: 3.953 kB / 0.7897 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.2336, allocations: 77.58 kB / 0.7898 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2336, allocations: 4 kB / 0.7898 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2336, allocations: 0 / 0.7898 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2336, allocations: 3.984 kB / 0.7898 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.2337, allocations: 161.7 kB / 0.7899 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2337, allocations: 0 / 0.7899 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.2338, allocations: 4 kB / 0.7899 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2338, allocations: 3.953 kB / 0.7899 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.2338, allocations: 0 / 0.7899 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2338, allocations: 7.984 kB / 0.7899 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2338, allocations: 0 / 0.7899 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2339, allocations: 109 kB / 0.7901 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.234, allocations: 81.14 kB / 0.7901 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.234, allocations: 3.953 kB / 0.7901 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.199e-05/0.234, allocations: 0 / 0.7901 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.234, allocations: 3.984 kB / 0.7901 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.2341, allocations: 4 kB / 0.7901 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.2341, allocations: 83.28 kB / 0.7902 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2341, allocations: 4.062 kB / 0.7902 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001922/0.2343, allocations: 19.98 kB / 0.7902 GB, free: 8.41 MB / 0.6075 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.0001452/0.2345, allocations: 127.2 kB / 0.7904 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.356e-05/0.2345, allocations: 27.92 kB / 0.7904 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2345, allocations: 0 / 0.7904 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.927e-05/0.2346, allocations: 19.94 kB / 0.7904 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.873e-05/0.2347, allocations: 4 kB / 0.7904 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002055/0.2349, allocations: 140.8 kB / 0.7905 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.2351, allocations: 0.6848 MB / 0.7912 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.2351, allocations: 4 kB / 0.7912 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.2351, allocations: 7.438 kB / 0.7912 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2351, allocations: 0 / 0.7912 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of Templates: time 0.002587/0.2377, allocations: 0.8787 MB / 0.7921 GB, free: 6.465 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: