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.001232/0.001232, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 190.1 kB / 16.62 MB, free: 6.613 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.875/1.875, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00215/0.00215, allocations: 67.98 kB / 0.6722 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3528, allocations: 114.5 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.003318/0.3562, allocations: 0.5326 MB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007563/0.357, allocations: 187.4 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.3571, allocations: 4 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.3571, allocations: 3.938 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.057e-05/0.3572, allocations: 7.938 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.3577, allocations: 63.84 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.012e-05/0.3578, allocations: 4 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.3579, allocations: 7.922 kB / 0.7849 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.3579, allocations: 8 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.3579, allocations: 4 kB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.358, allocations: 0 / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.3583, allocations: 131.8 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.3584, allocations: 11.92 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.3584, allocations: 7.938 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.3587, allocations: 67.89 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.3587, allocations: 4 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3587, allocations: 3.938 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.3587, allocations: 0 / 0.7851 GB, free: 11.76 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.0005577/0.3593, allocations: 339.4 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.3593, allocations: 8.031 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.3594, allocations: 8.844 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3596, allocations: 168.4 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3597, allocations: 4.312 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.3597, allocations: 384 / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3599, allocations: 42.25 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3599, allocations: 192 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.36, allocations: 3.938 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.36, allocations: 4 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.36, allocations: 11.98 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.3603, allocations: 161.7 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3605, allocations: 26.52 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.3605, allocations: 12.92 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.356e-05/0.3606, allocations: 7.984 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.3607, allocations: 30.56 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.3607, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0008284/0.3615, allocations: 306.1 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.3616, allocations: 51.62 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3617, allocations: 113.8 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3618, allocations: 25.7 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.3619, allocations: 84.14 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3619, allocations: 7.844 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.362, allocations: 21.7 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3622, allocations: 314.8 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.3622, allocations: 12 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.3623, allocations: 33.64 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3624, allocations: 41.64 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3624, allocations: 0 / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001898/0.3626, allocations: 69.62 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3627, allocations: 15.88 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3627, allocations: 0 / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3627, allocations: 0 / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.3628, allocations: 16.05 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3629, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.3629, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3629, allocations: 144 / 0.787 GB, free: 9.574 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 0.0001125/0.363, allocations: 110.5 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3631, allocations: 15.83 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3633, allocations: 73.52 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3633, allocations: 0 / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3634, allocations: 4 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3634, allocations: 0 / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3636, allocations: 165.7 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3636, allocations: 0 / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.3637, allocations: 12 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3637, allocations: 3.938 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3637, allocations: 0 / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3638, allocations: 0 / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3638, allocations: 0 / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.364, allocations: 109.1 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.3641, allocations: 81.02 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3641, allocations: 3.938 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.3642, allocations: 4.031 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.3643, allocations: 3.938 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3643, allocations: 0 / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.3644, allocations: 91.27 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3644, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003786/0.3648, allocations: 16 kB / 0.7876 GB, free: 8.785 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.000283/0.3651, allocations: 127.3 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.3652, allocations: 31.97 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3653, allocations: 0 / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.3653, allocations: 19.94 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3656, allocations: 4 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.366, allocations: 133.4 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3664, allocations: 0.6807 MB / 0.7886 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.3665, allocations: 12.06 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.3665, allocations: 11.42 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.3665, allocations: 0 / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.005323/0.3718, allocations: 0.888 MB / 0.7895 GB, free: 6.82 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)