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/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.749/1.749, allocations: 293 MB / 309 MB, free: 4.762 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 175.5 kB / 378.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 0.6383 GB, free: 8.113 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 95.59 kB / 0.7527 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004632, allocations: 12 kB / 0.8768 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2644, allocations: 116.4 MB / 0.9904 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6744/0.9388, allocations: 138.5 MB / 1.126 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001656/0.939, allocations: 66.92 kB / 1.126 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003378/0.9424, allocations: 1.369 MB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9424, allocations: 0 / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9424, allocations: 0.75 kB / 1.127 GB, free: 33.96 MB / 0.7292 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.0002087/0.9427, allocations: 345.4 kB / 1.127 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.9427, allocations: 12.03 kB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.9427, allocations: 0.9375 kB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.433e-05/0.9428, allocations: 170.8 kB / 1.128 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.9428, allocations: 384 / 1.128 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.9429, allocations: 1.219 kB / 1.128 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.943, allocations: 45.92 kB / 1.128 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.943, allocations: 192 / 1.128 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.943, allocations: 4.625 kB / 1.128 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.943, allocations: 3.938 kB / 1.128 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.943, allocations: 15.03 kB / 1.128 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.9432, allocations: 162.2 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.9432, allocations: 22.14 kB / 1.128 GB, free: 33.08 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.9432, allocations: 13.58 kB / 1.128 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.9433, allocations: 3.609 kB / 1.128 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.9433, allocations: 42.56 kB / 1.128 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.9433, allocations: 0.9844 kB / 1.128 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004601/0.9438, allocations: 302.3 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.9438, allocations: 55.34 kB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.9439, allocations: 109.3 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.9439, allocations: 30.27 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.184e-05/0.9439, allocations: 87.73 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.9439, allocations: 15.84 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.9439, allocations: 0 / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.348e-05/0.944, allocations: 310.8 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.944, allocations: 15.47 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.9441, allocations: 29.12 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.515e-05/0.9441, allocations: 44.66 kB / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.9441, allocations: 0 / 1.129 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.823e-05/0.9442, allocations: 72.62 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.9443, allocations: 9.812 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9443, allocations: 0.6875 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.9443, allocations: 4.656 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.9443, allocations: 8.359 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9443, allocations: 0 / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.9444, allocations: 8 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.9444, allocations: 4.5 kB / 1.129 GB, free: 31.88 MB / 0.7292 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 4.361e-05/0.9444, allocations: 113.9 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.9445, allocations: 7.938 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.9446, allocations: 80.09 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.9446, allocations: 0 / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.9446, allocations: 0.5 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9446, allocations: 1.219 kB / 1.129 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.731e-05/0.9447, allocations: 160.7 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9447, allocations: 0.625 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.9448, allocations: 8 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9448, allocations: 4.781 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.9448, allocations: 7.328 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.9448, allocations: 5.047 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9448, allocations: 0 / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.9449, allocations: 106.8 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.945, allocations: 81.05 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.945, allocations: 15.25 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.945, allocations: 5.203 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.945, allocations: 0 / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.945, allocations: 4.938 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.9451, allocations: 87.34 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9451, allocations: 0 / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001962/0.9453, allocations: 24 kB / 1.13 GB, free: 31.12 MB / 0.7292 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.0001346/0.9454, allocations: 130.2 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.9455, allocations: 31.5 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.9455, allocations: 4.125 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-05/0.9455, allocations: 16.5 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.9457, allocations: 6.25 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00021/0.9459, allocations: 141.3 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.946, allocations: 0.6804 MB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.911e-05/0.946, allocations: 5.297 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.9461, allocations: 15.38 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.9461, allocations: 0 / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.002482/0.9486, allocations: 0.8658 MB / 1.131 GB, free: 29.59 MB / 0.7292 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)