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.001147/0.001147, allocations: 107 kB / 15.99 MB, free: 6.359 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.001134/0.001134, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.543/1.543, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.711/1.711, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001338/0.001338, allocations: 65.64 kB / 0.6716 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.219, allocations: 114.5 MB / 0.7835 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.001777/0.2208, allocations: 0.5948 MB / 0.7841 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004913/0.2213, allocations: 191.4 kB / 0.7843 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.2213, allocations: 0 / 0.7843 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.2214, allocations: 0 / 0.7843 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.2214, allocations: 0 / 0.7843 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.2218, allocations: 59.81 kB / 0.7843 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.2218, allocations: 19.92 kB / 0.7843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.2219, allocations: 0 / 0.7843 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.2219, allocations: 11.92 kB / 0.7844 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.216e-05/0.2219, allocations: 7.984 kB / 0.7844 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.222, allocations: 4 kB / 0.7844 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.2221, allocations: 123.8 kB / 0.7845 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.2222, allocations: 7.875 kB / 0.7845 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.251e-05/0.2222, allocations: 11.94 kB / 0.7845 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.827e-05/0.2223, allocations: 47.92 kB / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2223, allocations: 0 / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2223, allocations: 0 / 0.7845 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2223, allocations: 4 kB / 0.7846 GB, free: 12.87 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.0003457/0.2227, allocations: 339.7 kB / 0.7849 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2227, allocations: 8.031 kB / 0.7849 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.2228, allocations: 12.83 kB / 0.7849 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.2229, allocations: 160.4 kB / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.2229, allocations: 384 / 0.785 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2229, allocations: 4.375 kB / 0.7851 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.223, allocations: 38.25 kB / 0.7851 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.223, allocations: 4.188 kB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.223, allocations: 3.938 kB / 0.7851 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2231, allocations: 3.984 kB / 0.7851 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.2231, allocations: 15.94 kB / 0.7851 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2233, allocations: 157.7 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.598e-05/0.2233, allocations: 26.56 kB / 0.7853 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.2233, allocations: 8.922 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.2234, allocations: 4 kB / 0.7853 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2234, allocations: 42.56 kB / 0.7853 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2234, allocations: 0 / 0.7853 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005152/0.2239, allocations: 298.1 kB / 0.7856 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.224, allocations: 55.34 kB / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.2241, allocations: 109.8 kB / 0.7858 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2241, allocations: 25.92 kB / 0.7858 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.2241, allocations: 92.12 kB / 0.7859 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2241, allocations: 15.78 kB / 0.7859 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2242, allocations: 17.72 kB / 0.7859 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2243, allocations: 318.8 kB / 0.7862 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.2243, allocations: 8 kB / 0.7862 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.2244, allocations: 25.7 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/0.2244, allocations: 41.7 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.2244, allocations: 4 kB / 0.7863 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.79e-05/0.2245, allocations: 69.62 kB / 0.7864 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2245, allocations: 7.938 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2246, allocations: 0 / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2246, allocations: 3.938 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.2246, allocations: 8 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2247, allocations: 0 / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.2247, allocations: 4.062 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2247, allocations: 4 kB / 0.7864 GB, free: 10.69 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.2248, allocations: 109.8 kB / 0.7865 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.2248, allocations: 11.84 kB / 0.7865 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.2249, allocations: 73.52 kB / 0.7866 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2249, allocations: 0 / 0.7866 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2249, allocations: 4 kB / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2249, allocations: 4 kB / 0.7866 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.225, allocations: 169.7 kB / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2251, allocations: 0 / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.2251, allocations: 7.984 kB / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2251, allocations: 3.938 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2251, allocations: 0 / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2251, allocations: 4 kB / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2251, allocations: 0 / 0.7868 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.2253, allocations: 101 kB / 0.7869 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.2253, allocations: 85.11 kB / 0.787 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.2254, allocations: 11.92 kB / 0.787 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.86e-05/0.2254, allocations: 0 / 0.787 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.034e-05/0.2254, allocations: 4.172 kB / 0.787 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2254, allocations: 8 kB / 0.787 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.2255, allocations: 87.56 kB / 0.7871 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2255, allocations: 0 / 0.7871 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002004/0.2257, allocations: 24 kB / 0.7871 GB, free: 9.887 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 (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.0001648/0.2259, allocations: 115.2 kB / 0.7872 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.226, allocations: 43.91 kB / 0.7872 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.226, allocations: 0 / 0.7872 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.015e-05/0.226, allocations: 15.98 kB / 0.7872 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2261, allocations: 0 / 0.7872 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.2264, allocations: 163.2 kB / 0.7874 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2266, allocations: 0.6807 MB / 0.7881 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.2267, allocations: 15.56 kB / 0.7881 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2267, allocations: 0 / 0.7881 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of Templates: time 0.002051/0.2287, allocations: 0.8484 MB / 0.7889 GB, free: 7.945 MB / 0.6075 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)