Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001639/0.00164, 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.001968/0.001968, allocations: 187.9 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.595/1.595, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7167/0.7167, allocations: 95.48 MB / 365.3 MB, free: 9.801 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 71.81 kB / 446.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3795, allocations: 69.08 MB / 0.5031 GB, free: 17.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002061/0.3816, allocations: 0.5043 MB / 0.5036 GB, free: 16.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.3822, allocations: 190.5 kB / 0.5038 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.3822, allocations: 0 / 0.5038 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.3823, allocations: 0 / 0.5038 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.3823, allocations: 0 / 0.5038 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.3828, allocations: 55.81 kB / 0.5038 GB, free: 16.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.3829, allocations: 19.91 kB / 0.5039 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.3829, allocations: 4 kB / 0.5039 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.3829, allocations: 8 kB / 0.5039 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.831e-05/0.383, allocations: 3.984 kB / 0.5039 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.383, allocations: 0 / 0.5039 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3832, allocations: 131.8 kB / 0.504 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.3832, allocations: 11.94 kB / 0.504 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.3833, allocations: 7.938 kB / 0.504 GB, free: 16.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.3834, allocations: 71.83 kB / 0.5041 GB, free: 16.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3834, allocations: 0 / 0.5041 GB, free: 16.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3834, allocations: 0 / 0.5041 GB, free: 16.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3835, allocations: 0 / 0.5041 GB, free: 16.3 MB / 382.1 MB 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.000295/0.3838, allocations: 349.2 kB / 0.5044 GB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3838, allocations: 15.92 kB / 0.5044 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3838, allocations: 4.938 kB / 0.5044 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.673e-05/0.3839, allocations: 168.4 kB / 0.5046 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3839, allocations: 4.375 kB / 0.5046 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.384, allocations: 8.219 kB / 0.5046 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.628e-05/0.3841, allocations: 42.25 kB / 0.5047 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3841, allocations: 4.172 kB / 0.5047 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3841, allocations: 3.938 kB / 0.5047 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3841, allocations: 4 kB / 0.5047 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.433e-05/0.3841, allocations: 8 kB / 0.5047 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.3843, allocations: 165.5 kB / 0.5048 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.3843, allocations: 26.59 kB / 0.5049 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.3844, allocations: 16.86 kB / 0.5049 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.3844, allocations: 4 kB / 0.5049 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3844, allocations: 38.56 kB / 0.5049 GB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3844, allocations: 0 / 0.5049 GB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004721/0.3849, allocations: 294.2 kB / 0.5052 GB, free: 14.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.385, allocations: 51.41 kB / 0.5052 GB, free: 14.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.385, allocations: 113.8 kB / 0.5054 GB, free: 14.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.385, allocations: 25.7 kB / 0.5054 GB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.3851, allocations: 88.34 kB / 0.5055 GB, free: 14.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3851, allocations: 11.91 kB / 0.5055 GB, free: 14.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.3851, allocations: 13.72 kB / 0.5055 GB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.3852, allocations: 318.8 kB / 0.5058 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.25e-05/0.3852, allocations: 12 kB / 0.5058 GB, free: 14.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.3853, allocations: 25.7 kB / 0.5058 GB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.3853, allocations: 45.66 kB / 0.5059 GB, free: 14.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3853, allocations: 3.938 kB / 0.5059 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.906e-05/0.3854, allocations: 73.52 kB / 0.5059 GB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3854, allocations: 7.938 kB / 0.506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3854, allocations: 0 / 0.506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3854, allocations: 0 / 0.506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.3855, allocations: 8 kB / 0.506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3855, allocations: 0 / 0.506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.3855, allocations: 0 / 0.506 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3855, allocations: 4 kB / 0.506 GB, free: 14.1 MB / 382.1 MB 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 5.43e-05/0.3856, allocations: 121.9 kB / 0.5061 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.3856, allocations: 3.938 kB / 0.5061 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.3857, allocations: 69.52 kB / 0.5061 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3857, allocations: 4 kB / 0.5062 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3858, allocations: 0 / 0.5062 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3858, allocations: 0 / 0.5062 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.481e-05/0.3858, allocations: 169.6 kB / 0.5063 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3858, allocations: 0 / 0.5063 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.3859, allocations: 7.984 kB / 0.5063 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3859, allocations: 7.938 kB / 0.5063 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3859, allocations: 4 kB / 0.5063 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3859, allocations: 0 / 0.5063 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3859, allocations: 0 / 0.5063 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.386, allocations: 101 kB / 0.5064 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3861, allocations: 81.38 kB / 0.5065 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3861, allocations: 11.92 kB / 0.5065 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.3862, allocations: 64 / 0.5065 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3862, allocations: 11.92 kB / 0.5065 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.3862, allocations: 4 kB / 0.5065 GB, free: 13.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.04e-05/0.3862, allocations: 91.27 kB / 0.5066 GB, free: 13.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3862, allocations: 0 / 0.5066 GB, free: 13.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.3864, allocations: 20 kB / 0.5066 GB, free: 13.3 MB / 382.1 MB 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.0001384/0.3866, allocations: 111.2 kB / 0.5067 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.3867, allocations: 27.98 kB / 0.5068 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3867, allocations: 8.125 kB / 0.5068 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.3867, allocations: 19.86 kB / 0.5068 GB, free: 13.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3869, allocations: 11.59 kB / 0.5068 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.3872, allocations: 141.6 kB / 0.5069 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.3873, allocations: 0.6807 MB / 0.5076 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.388e-05/0.3874, allocations: 4 kB / 0.5076 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.3874, allocations: 11.44 kB / 0.5076 GB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3874, allocations: 0 / 0.5076 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Templates: time 0.003036/0.3904, allocations: 0.8907 MB / 0.5085 GB, free: 11.34 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)