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.001172/0.001172, allocations: 108 kB / 15.6 MB, free: 132 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.001271/0.001271, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.603/1.603, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.5921/0.5922, allocations: 95.48 MB / 365.2 MB, free: 9.887 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.001882/0.001882, allocations: 68.28 kB / 445.3 MB, free: 9.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3739, allocations: 69.08 MB / 0.5024 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.002029/0.376, allocations: 0.5123 MB / 0.5029 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005266/0.3765, allocations: 186.5 kB / 0.503 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.3766, allocations: 0 / 0.503 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.3766, allocations: 0 / 0.503 GB, free: 16.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.3767, allocations: 3.938 kB / 0.503 GB, free: 16.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004077/0.3771, allocations: 55.86 kB / 0.5031 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.3771, allocations: 23.86 kB / 0.5031 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.3772, allocations: 8 kB / 0.5031 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.429e-05/0.3772, allocations: 4 kB / 0.5031 GB, free: 16.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.724e-05/0.3773, allocations: 7.969 kB / 0.5031 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.3773, allocations: 0 / 0.5031 GB, free: 16.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.3775, allocations: 123.8 kB / 0.5033 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.3775, allocations: 15.92 kB / 0.5033 GB, free: 16.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3776, allocations: 7.938 kB / 0.5033 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3777, allocations: 71.83 kB / 0.5034 GB, free: 16.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3777, allocations: 0 / 0.5034 GB, free: 16.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3778, allocations: 0 / 0.5034 GB, free: 16.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3778, allocations: 0 / 0.5034 GB, free: 16.45 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.0003345/0.3781, allocations: 349.4 kB / 0.5037 GB, free: 16.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3782, allocations: 11.98 kB / 0.5037 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.3782, allocations: 8.922 kB / 0.5037 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.3783, allocations: 168.3 kB / 0.5039 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.3783, allocations: 4.375 kB / 0.5039 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3784, allocations: 4.281 kB / 0.5039 GB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.3785, allocations: 38.25 kB / 0.5039 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3785, allocations: 192 / 0.5039 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3785, allocations: 7.938 kB / 0.5039 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3785, allocations: 4 kB / 0.5039 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.3786, allocations: 8 kB / 0.5039 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3787, allocations: 157.7 kB / 0.5041 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.3788, allocations: 30.53 kB / 0.5041 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.947e-05/0.3788, allocations: 8.922 kB / 0.5041 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.3788, allocations: 4 kB / 0.5041 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3789, allocations: 42.56 kB / 0.5042 GB, free: 15.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3789, allocations: 0 / 0.5042 GB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005297/0.3794, allocations: 294.2 kB / 0.5044 GB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.3795, allocations: 51.41 kB / 0.5045 GB, free: 15.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.3795, allocations: 113.8 kB / 0.5046 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.3795, allocations: 29.7 kB / 0.5046 GB, free: 14.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.3796, allocations: 92.34 kB / 0.5047 GB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3796, allocations: 7.906 kB / 0.5047 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3797, allocations: 13.72 kB / 0.5047 GB, free: 14.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.906e-05/0.3797, allocations: 318.8 kB / 0.505 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.3798, allocations: 12 kB / 0.5051 GB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.3798, allocations: 21.7 kB / 0.5051 GB, free: 14.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.55e-05/0.3799, allocations: 49.66 kB / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3799, allocations: 7.922 kB / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.253e-05/0.38, allocations: 69.53 kB / 0.5052 GB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.38, allocations: 11.88 kB / 0.5052 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.38, allocations: 0 / 0.5052 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.38, allocations: 0 / 0.5052 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.3801, allocations: 8 kB / 0.5052 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3801, allocations: 0 / 0.5052 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.3801, allocations: 0 / 0.5052 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3802, allocations: 8.062 kB / 0.5052 GB, free: 14.25 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.812e-05/0.3802, allocations: 113.8 kB / 0.5053 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.3802, allocations: 8.078 kB / 0.5053 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3804, allocations: 73.5 kB / 0.5054 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3804, allocations: 4 kB / 0.5054 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3804, allocations: 0 / 0.5054 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3804, allocations: 0 / 0.5054 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.3805, allocations: 165.7 kB / 0.5056 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3805, allocations: 0 / 0.5056 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.3806, allocations: 15.98 kB / 0.5056 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3806, allocations: 3.938 kB / 0.5056 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.3806, allocations: 0 / 0.5056 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3806, allocations: 4 kB / 0.5056 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3806, allocations: 0 / 0.5056 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.3807, allocations: 101 kB / 0.5057 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.3808, allocations: 81.14 kB / 0.5058 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3808, allocations: 11.86 kB / 0.5058 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.3809, allocations: 4.062 kB / 0.5058 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.3809, allocations: 4 kB / 0.5058 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.3809, allocations: 4 kB / 0.5058 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.531e-05/0.3809, allocations: 87.27 kB / 0.5059 GB, free: 13.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3809, allocations: 0 / 0.5059 GB, free: 13.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.3812, allocations: 24 kB / 0.5059 GB, free: 13.46 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.000209/0.3814, allocations: 111.2 kB / 0.506 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3815, allocations: 31.98 kB / 0.506 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3815, allocations: 4 kB / 0.506 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.3815, allocations: 19.86 kB / 0.5061 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3817, allocations: 4 kB / 0.5061 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.382, allocations: 137.6 kB / 0.5062 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.3822, allocations: 0.6807 MB / 0.5069 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.487e-05/0.3822, allocations: 4.125 kB / 0.5069 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.3822, allocations: 19.44 kB / 0.5069 GB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.3822, allocations: 0 / 0.5069 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Templates: time 0.003431/0.3856, allocations: 0.889 MB / 0.5077 GB, free: 11.5 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)