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.001366/0.001366, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001312/0.001312, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.436/1.436, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.756/1.756, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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: 72.38 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2334, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001916/0.2354, allocations: 0.5294 MB / 0.7845 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000542/0.2359, allocations: 187.4 kB / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.236, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.236, allocations: 0 / 0.7847 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.2361, allocations: 4 kB / 0.7847 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.2365, allocations: 59.8 kB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.2365, allocations: 19.92 kB / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.2366, allocations: 0 / 0.7848 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.2366, allocations: 4 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.784e-05/0.2366, allocations: 11.97 kB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2366, allocations: 4 kB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.2369, allocations: 127.8 kB / 0.7849 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.2369, allocations: 3.938 kB / 0.7849 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.2369, allocations: 15.92 kB / 0.785 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.2371, allocations: 63.83 kB / 0.785 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2371, allocations: 3.938 kB / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2371, allocations: 0 / 0.785 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2371, allocations: 4 kB / 0.785 GB, free: 2.883 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.0003769/0.2375, allocations: 339.7 kB / 0.7853 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2376, allocations: 12.03 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.2376, allocations: 0.9375 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2377, allocations: 176.3 kB / 0.7855 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.2377, allocations: 4.375 kB / 0.7855 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.2378, allocations: 4.312 kB / 0.7855 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2379, allocations: 38.25 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2379, allocations: 4.188 kB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2379, allocations: 3.938 kB / 0.7856 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2379, allocations: 0 / 0.7856 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.238, allocations: 8 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.2381, allocations: 157.7 kB / 0.7857 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.597e-05/0.2382, allocations: 30.59 kB / 0.7858 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.2382, allocations: 16.86 kB / 0.7858 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.2383, allocations: 8 kB / 0.7858 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2383, allocations: 30.56 kB / 0.7858 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2383, allocations: 0 / 0.7858 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005705/0.2389, allocations: 298.2 kB / 0.7861 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2389, allocations: 55.41 kB / 0.7862 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.361e-05/0.239, allocations: 109.8 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.239, allocations: 29.92 kB / 0.7863 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.2391, allocations: 92.12 kB / 0.7864 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.2391, allocations: 11.75 kB / 0.7864 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.2391, allocations: 17.72 kB / 0.7864 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2393, allocations: 318.8 kB / 0.7867 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.2393, allocations: 15.98 kB / 0.7867 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.2393, allocations: 25.7 kB / 0.7868 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.2394, allocations: 41.66 kB / 0.7868 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2394, allocations: 0 / 0.7868 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001066/0.2395, allocations: 65.67 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2395, allocations: 11.88 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2396, allocations: 0 / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2396, allocations: 4 kB / 0.7869 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.2396, allocations: 4 kB / 0.7869 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2396, allocations: 0 / 0.7869 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.2397, allocations: 12.06 kB / 0.7869 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.2397, allocations: 0 / 0.7869 GB, free: 0.6953 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 7.794e-05/0.2398, allocations: 113.8 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2398, allocations: 7.844 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.2399, allocations: 81.45 kB / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2399, allocations: 0 / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2399, allocations: 0 / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2399, allocations: 0 / 0.7871 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2401, allocations: 165.9 kB / 0.7872 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2401, allocations: 0 / 0.7872 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.2401, allocations: 7.984 kB / 0.7872 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2401, allocations: 11.92 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.2402, allocations: 0 / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2402, allocations: 4 kB / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2402, allocations: 0 / 0.7873 GB, free: 248 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.2403, allocations: 101.1 kB / 0.7874 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.2404, allocations: 81.02 kB / 0.7874 GB, free: 28 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2404, allocations: 8 kB / 0.7874 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.944e-05/0.2404, allocations: 3.984 kB / 0.7874 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.2405, allocations: 4.031 kB / 0.7874 GB, free: 12 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2405, allocations: 3.938 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.3726/0.6131, allocations: 86.3 kB / 0.7875 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.92e-07/0.6131, allocations: 0 / 0.7875 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003212/0.6135, allocations: 20.25 kB / 0.7876 GB, free: 48.32 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.0001917/0.6137, allocations: 123.7 kB / 0.7877 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.6138, allocations: 32.03 kB / 0.7877 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6138, allocations: 2.531 kB / 0.7877 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.6139, allocations: 17.12 kB / 0.7877 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.614, allocations: 4.656 kB / 0.7877 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.6143, allocations: 146.9 kB / 0.7879 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.364e-05/0.6144, allocations: 0.6859 MB / 0.7885 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.6144, allocations: 12.06 kB / 0.7885 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.6144, allocations: 0 / 0.7885 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.002069/0.6165, allocations: 0.8415 MB / 0.7894 GB, free: 47.4 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)