Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.72/1.72, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 184.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008566, allocations: 101.7 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00047/0.00047, allocations: 17.69 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7177, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.9072, allocations: 140.6 MB / 1.164 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.9074, allocations: 66.45 kB / 1.164 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003787/0.9112, allocations: 1.369 MB / 1.165 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9113, allocations: 0 / 1.165 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.9113, allocations: 4.719 kB / 1.165 GB, free: 1.578 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.0002415/0.9115, allocations: 341.5 kB / 1.165 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.9116, allocations: 8.031 kB / 1.165 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.9116, allocations: 6.719 kB / 1.165 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.9117, allocations: 166.2 kB / 1.166 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.9117, allocations: 4.875 kB / 1.166 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.9117, allocations: 5.125 kB / 1.166 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.77e-05/0.9118, allocations: 42.83 kB / 1.166 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.9119, allocations: 0.8125 kB / 1.166 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.9119, allocations: 4.781 kB / 1.166 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9119, allocations: 1.156 kB / 1.166 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.9119, allocations: 16.23 kB / 1.166 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.9121, allocations: 155 kB / 1.166 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.202e-05/0.9121, allocations: 30.78 kB / 1.166 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.9122, allocations: 10.75 kB / 1.166 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.9122, allocations: 6.484 kB / 1.166 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.9122, allocations: 33.72 kB / 1.166 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9122, allocations: 0 / 1.166 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005356/0.9128, allocations: 307.2 kB / 1.166 GB, free: 316 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.9128, allocations: 52.89 kB / 1.166 GB, free: 252 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.9129, allocations: 110.9 kB / 1.166 GB, free: 136 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.9129, allocations: 25.7 kB / 1.166 GB, free: 104 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.9129, allocations: 84.7 kB / 1.166 GB, free: 16 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.9129, allocations: 10.53 kB / 1.166 GB, free: 8 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.913, allocations: 7.938 kB / 1.166 GB, free: 0 / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.9131, allocations: 316.4 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.9131, allocations: 13.48 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.9132, allocations: 25.47 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.503e-05/0.9133, allocations: 42.88 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-07/0.9133, allocations: 0.75 kB / 1.167 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001175/0.9134, allocations: 75.08 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9134, allocations: 13.38 kB / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.9134, allocations: 0 / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.9134, allocations: 0 / 1.167 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.9135, allocations: 10.53 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.9135, allocations: 3.062 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.9135, allocations: 0 / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.9136, allocations: 5.844 kB / 1.167 GB, free: 15.52 MB / 0.7448 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 8.004e-05/0.9136, allocations: 117.6 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.9137, allocations: 3.938 kB / 1.167 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.9138, allocations: 88.39 kB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9138, allocations: 0 / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9139, allocations: 0 / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9139, allocations: 2.219 kB / 1.167 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.914, allocations: 164.6 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.914, allocations: 0 / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.9141, allocations: 5.359 kB / 1.167 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.9141, allocations: 3.938 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.9141, allocations: 3.078 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.9141, allocations: 5.5 kB / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9141, allocations: 0 / 1.167 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.9143, allocations: 118.5 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.9144, allocations: 78.58 kB / 1.167 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9144, allocations: 4.594 kB / 1.167 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.9144, allocations: 6.469 kB / 1.167 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.9144, allocations: 1.359 kB / 1.167 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.9145, allocations: 5.969 kB / 1.167 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.9145, allocations: 88.31 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9145, allocations: 0 / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002032/0.9147, allocations: 26.05 kB / 1.168 GB, free: 14.77 MB / 0.7448 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.0001984/0.915, allocations: 120 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.984e-05/0.9151, allocations: 38.56 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9151, allocations: 0 / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.188e-05/0.9151, allocations: 15.44 kB / 1.168 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.9152, allocations: 5.172 kB / 1.168 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.9156, allocations: 135.7 kB / 1.168 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.9159, allocations: 0.6851 MB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.9159, allocations: 6.438 kB / 1.169 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.9159, allocations: 13.38 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.9159, allocations: 2.25 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.003221/0.9192, allocations: 0.8593 MB / 1.169 GB, free: 13.27 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)