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.001327/0.001327, allocations: 115.3 kB / 16.37 MB, free: 5.953 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.00145/0.001449, allocations: 186.4 kB / 17.31 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001459/0.00146, allocations: 68.28 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2304, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001755/0.2322, allocations: 0.5181 MB / 0.7853 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004865/0.2327, allocations: 199.3 kB / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.2327, allocations: 0 / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.2328, allocations: 4 kB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.2328, allocations: 3.938 kB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.2332, allocations: 55.86 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.577e-05/0.2333, allocations: 11.98 kB / 0.7856 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.2333, allocations: 4 kB / 0.7856 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.47e-05/0.2333, allocations: 0 / 0.7856 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.2333, allocations: 11.92 kB / 0.7856 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.2334, allocations: 0 / 0.7856 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.2336, allocations: 131.8 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.2336, allocations: 8 kB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.2337, allocations: 7.938 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.2338, allocations: 75.83 kB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2338, allocations: 0 / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2338, allocations: 0 / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2338, allocations: 0 / 0.7858 GB, free: 2.176 MB / 0.6544 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.0003493/0.2342, allocations: 339.4 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2342, allocations: 12.02 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2343, allocations: 8.938 kB / 0.7861 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2344, allocations: 172.2 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2344, allocations: 8.312 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.2344, allocations: 4.375 kB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.2345, allocations: 38.25 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2346, allocations: 4.188 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2346, allocations: 3.938 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2346, allocations: 0 / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.499e-05/0.2346, allocations: 8 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.2348, allocations: 157.7 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.2349, allocations: 34.5 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.2349, allocations: 8.922 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.2349, allocations: 4 kB / 0.7866 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.2349, allocations: 38.55 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.235, allocations: 0 / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005129/0.2355, allocations: 294.5 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.2355, allocations: 59.34 kB / 0.7869 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.2356, allocations: 113.8 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.2356, allocations: 29.7 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.2357, allocations: 80.14 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.2357, allocations: 19.75 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.2357, allocations: 13.72 kB / 0.7872 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2358, allocations: 318.8 kB / 0.7875 GB, free: 184 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.2359, allocations: 12 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.2359, allocations: 29.7 kB / 0.7875 GB, free: 136 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.236, allocations: 41.64 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.236, allocations: 0 / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.669e-05/0.2361, allocations: 65.62 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2361, allocations: 14.28 kB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2361, allocations: 4.062 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2361, allocations: 0 / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4027/0.6388, allocations: 6.359 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6389, allocations: 0 / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.6389, allocations: 1.25 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.639, allocations: 2.375 kB / 0.7876 GB, free: 48.46 MB / 0.6544 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 8.585e-05/0.6391, allocations: 110.4 kB / 0.7878 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.6391, allocations: 9.5 kB / 0.7878 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.6393, allocations: 71.81 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6393, allocations: 0.8438 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6393, allocations: 3.281 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6393, allocations: 3.109 kB / 0.7878 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.775e-05/0.6394, allocations: 162.8 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6394, allocations: 2.625 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.6395, allocations: 4.062 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6395, allocations: 6 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.6395, allocations: 1.5 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6395, allocations: 0 / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6395, allocations: 0.9844 kB / 0.788 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.6397, allocations: 117.2 kB / 0.7881 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.6397, allocations: 85.23 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.6397, allocations: 3.25 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.6398, allocations: 0 / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.418e-05/0.6398, allocations: 5.781 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.6398, allocations: 2.438 kB / 0.7882 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.6398, allocations: 90.31 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6399, allocations: 0 / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002824/0.6401, allocations: 16.53 kB / 0.7883 GB, free: 47.89 MB / 0.6544 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.0001725/0.6403, allocations: 120 kB / 0.7884 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.6404, allocations: 31.14 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6404, allocations: 0 / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.6405, allocations: 22.66 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.6406, allocations: 9.078 kB / 0.7885 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.6409, allocations: 155.8 kB / 0.7886 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.841e-05/0.641, allocations: 0.6788 MB / 0.7893 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.641, allocations: 11.09 kB / 0.7893 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.641, allocations: 0 / 0.7893 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.002244/0.6433, allocations: 0.8456 MB / 0.7901 GB, free: 46.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (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)