Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008835/0.0008832, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0009203/0.0009206, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 252 MB / 0.5102 GB, free: 4.809 MB / 414.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.0005746/0.0005748, allocations: 23.28 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5364, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006794/0.5371, allocations: 255.8 kB / 0.7284 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004711/0.5376, allocations: 178.5 kB / 0.7285 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.185e-05/0.5376, allocations: 3.938 kB / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.5377, allocations: 4 kB / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.5377, allocations: 3.984 kB / 0.7285 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.5381, allocations: 39.94 kB / 0.7286 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.5381, allocations: 15.92 kB / 0.7286 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.5382, allocations: 7.984 kB / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.286e-05/0.5382, allocations: 4 kB / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.5383, allocations: 3.938 kB / 0.7286 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.5383, allocations: 4 kB / 0.7286 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.5385, allocations: 111.8 kB / 0.7287 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.5385, allocations: 8 kB / 0.7287 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.5385, allocations: 33.64 kB / 0.7288 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.5387, allocations: 47.92 kB / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5387, allocations: 0 / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.246e-06/0.5387, allocations: 0 / 0.7288 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.5387, allocations: 3.938 kB / 0.7288 GB, free: 10.7 MB / 0.545 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.0003216/0.539, allocations: 329.3 kB / 0.7291 GB, free: 10.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.5391, allocations: 8.031 kB / 0.7291 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5391, allocations: 11.91 kB / 0.7291 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.5392, allocations: 171 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.5392, allocations: 8 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.5393, allocations: 3.984 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.5394, allocations: 33.7 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.5394, allocations: 3.938 kB / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.5394, allocations: 0 / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5394, allocations: 0 / 0.7294 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.637e-05/0.5395, allocations: 15.92 kB / 0.7294 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.5396, allocations: 165.6 kB / 0.7295 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.5397, allocations: 26.61 kB / 0.7296 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.5397, allocations: 12.91 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.5398, allocations: 7.984 kB / 0.7296 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.5398, allocations: 34.56 kB / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5398, allocations: 0 / 0.7296 GB, free: 9.719 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005671/0.5404, allocations: 294.5 kB / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.5404, allocations: 59.34 kB / 0.7299 GB, free: 9.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.936e-05/0.5405, allocations: 109.8 kB / 0.73 GB, free: 9.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.5405, allocations: 25.7 kB / 0.7301 GB, free: 9.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.5406, allocations: 84.14 kB / 0.7302 GB, free: 9.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.5406, allocations: 11.81 kB / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.5406, allocations: 0 / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5407, allocations: 322.8 kB / 0.7305 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.5407, allocations: 8 kB / 0.7305 GB, free: 8.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.5408, allocations: 33.7 kB / 0.7305 GB, free: 8.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.5408, allocations: 12 kB / 0.7305 GB, free: 8.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.5408, allocations: 0 / 0.7305 GB, free: 8.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.012e-05/0.5409, allocations: 69.61 kB / 0.7306 GB, free: 8.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.5409, allocations: 4 kB / 0.7306 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.541, allocations: 3.938 kB / 0.7306 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.541, allocations: 4 kB / 0.7306 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.541, allocations: 12.06 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5411, allocations: 0 / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.5411, allocations: 4 kB / 0.7306 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.5411, allocations: 0 / 0.7306 GB, free: 8.578 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.5412, allocations: 117.8 kB / 0.7307 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-06/0.5412, allocations: 3.906 kB / 0.7307 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.5413, allocations: 73.52 kB / 0.7308 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5413, allocations: 4 kB / 0.7308 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.5413, allocations: 4 kB / 0.7308 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5413, allocations: 0 / 0.7308 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.5415, allocations: 165.6 kB / 0.731 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5415, allocations: 0 / 0.731 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.5415, allocations: 7.984 kB / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5415, allocations: 0 / 0.731 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5415, allocations: 4 kB / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5416, allocations: 0 / 0.731 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.5416, allocations: 3.938 kB / 0.731 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.5417, allocations: 105 kB / 0.7311 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.5418, allocations: 89 kB / 0.7312 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5418, allocations: 0 / 0.7312 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.5418, allocations: 7.984 kB / 0.7312 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.5418, allocations: 4 kB / 0.7312 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5419, allocations: 0 / 0.7312 GB, free: 7.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.5419, allocations: 91.27 kB / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5419, allocations: 0 / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000206/0.5421, allocations: 20 kB / 0.7313 GB, free: 7.781 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/0.5423, allocations: 123.3 kB / 0.7314 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.46e-05/0.5424, allocations: 23.98 kB / 0.7314 GB, free: 7.629 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5424, allocations: 4 kB / 0.7314 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.5424, allocations: 19.92 kB / 0.7314 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.5426, allocations: 6.953 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.5429, allocations: 141.3 kB / 0.7316 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5431, allocations: 0.6848 MB / 0.7323 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.5431, allocations: 4.5 kB / 0.7323 GB, free: 6.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.574e-05/0.5432, allocations: 11.44 kB / 0.7323 GB, free: 6.711 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5432, allocations: 0 / 0.7323 GB, free: 6.711 MB / 0.545 GB Notification: Performance of Templates: time 0.003219/0.5464, allocations: 0.8664 MB / 0.7331 GB, free: 5.852 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: