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.0009858/0.0009858, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001272/0.001273, allocations: 177.3 kB / 15.95 MB, free: 216 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.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.568/1.568, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.0005929/0.0005932, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5356, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0006709/0.5363, allocations: 256.6 kB / 0.7282 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004273/0.5367, allocations: 181 kB / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.5368, allocations: 0 / 0.7284 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.5368, allocations: 3.938 kB / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.5369, allocations: 0 / 0.7284 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.5372, allocations: 47.86 kB / 0.7284 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.521e-05/0.5372, allocations: 4 kB / 0.7284 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.5373, allocations: 4 kB / 0.7284 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.5373, allocations: 15.91 kB / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.5374, allocations: 8 kB / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.5374, allocations: 0 / 0.7285 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.5376, allocations: 107.8 kB / 0.7286 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.5376, allocations: 11.92 kB / 0.7286 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.5377, allocations: 25.7 kB / 0.7286 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.5378, allocations: 47.92 kB / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.5378, allocations: 0 / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5378, allocations: 0 / 0.7286 GB, free: 10.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.5378, allocations: 0 / 0.7286 GB, free: 10.73 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.0003758/0.5382, allocations: 337.3 kB / 0.729 GB, free: 10.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5382, allocations: 8.031 kB / 0.729 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.5383, allocations: 11.84 kB / 0.729 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.5384, allocations: 167 kB / 0.7291 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.5384, allocations: 0 / 0.7291 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.5385, allocations: 4 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.5386, allocations: 41.69 kB / 0.7292 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.5386, allocations: 3.938 kB / 0.7292 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.5386, allocations: 4 kB / 0.7292 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5386, allocations: 0 / 0.7292 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.5387, allocations: 11.94 kB / 0.7292 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.5388, allocations: 165.6 kB / 0.7294 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.854e-05/0.5389, allocations: 22.58 kB / 0.7294 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.5389, allocations: 4.062 kB / 0.7294 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.539, allocations: 34.56 kB / 0.7294 GB, free: 9.773 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.539, allocations: 4 kB / 0.7294 GB, free: 9.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005363/0.5395, allocations: 294.3 kB / 0.7297 GB, free: 9.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.5396, allocations: 55.34 kB / 0.7298 GB, free: 9.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.5397, allocations: 105.8 kB / 0.7299 GB, free: 9.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.5397, allocations: 29.7 kB / 0.7299 GB, free: 9.215 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.5397, allocations: 88.12 kB / 0.73 GB, free: 9.125 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.5397, allocations: 12.03 kB / 0.73 GB, free: 9.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5398, allocations: 4 kB / 0.73 GB, free: 9.109 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.5399, allocations: 314.8 kB / 0.7303 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.583e-05/0.5399, allocations: 11.98 kB / 0.7303 GB, free: 8.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.5399, allocations: 25.72 kB / 0.7303 GB, free: 8.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.997e-05/0.54, allocations: 15.94 kB / 0.7303 GB, free: 8.734 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.54, allocations: 0 / 0.7303 GB, free: 8.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.098e-05/0.5401, allocations: 73.62 kB / 0.7304 GB, free: 8.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5401, allocations: 8 kB / 0.7304 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5401, allocations: 0 / 0.7304 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5401, allocations: 0 / 0.7304 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.5402, allocations: 8 kB / 0.7304 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5402, allocations: 0 / 0.7304 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.5402, allocations: 3.984 kB / 0.7304 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.5402, allocations: 0 / 0.7304 GB, free: 8.637 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.522e-05/0.5403, allocations: 113.8 kB / 0.7305 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.5403, allocations: 12.11 kB / 0.7306 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.5405, allocations: 77.5 kB / 0.7306 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5405, allocations: 0 / 0.7306 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5405, allocations: 0 / 0.7306 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5405, allocations: 4 kB / 0.7306 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.5406, allocations: 165.7 kB / 0.7308 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5406, allocations: 7.953 kB / 0.7308 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.5407, allocations: 11.88 kB / 0.7308 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5407, allocations: 0 / 0.7308 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.5407, allocations: 0 / 0.7308 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.5407, allocations: 4 kB / 0.7308 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5407, allocations: 0 / 0.7308 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.5408, allocations: 105 kB / 0.7309 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.5409, allocations: 88.95 kB / 0.731 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.5409, allocations: 0 / 0.731 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.541, allocations: 4.031 kB / 0.731 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.541, allocations: 0 / 0.731 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.541, allocations: 4.062 kB / 0.731 GB, free: 7.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.541, allocations: 91.27 kB / 0.7311 GB, free: 7.852 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.541, allocations: 0 / 0.7311 GB, free: 7.852 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000201/0.5413, allocations: 16 kB / 0.7311 GB, free: 7.836 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.0001697/0.5414, allocations: 123.2 kB / 0.7312 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.5415, allocations: 31.92 kB / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5415, allocations: 0 / 0.7313 GB, free: 7.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.5416, allocations: 19.98 kB / 0.7313 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.5417, allocations: 10.03 kB / 0.7313 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.5419, allocations: 140.9 kB / 0.7314 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.5422, allocations: 0.6809 MB / 0.7321 GB, free: 6.781 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.5423, allocations: 8.484 kB / 0.7321 GB, free: 6.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.5423, allocations: 11.44 kB / 0.7321 GB, free: 6.762 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5423, allocations: 0 / 0.7321 GB, free: 6.762 MB / 0.545 GB Notification: Performance of Templates: time 0.002885/0.5452, allocations: 0.8711 MB / 0.733 GB, free: 5.902 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: