Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.714/0.714, allocations: 132.4 MB / 139.9 MB, free: 15.4 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009196/0.0009197, allocations: 172.1 kB / 171.8 MB, free: 2.023 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.197/1.197, allocations: 170.6 MB / 374.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001525/0.001525, allocations: 114 kB / 444.8 MB, free: 9.242 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4733/0.4733, allocations: 73.39 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.6213, allocations: 100.4 MB / 0.7646 GB, free: 4.488 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.6216, allocations: 69.09 kB / 0.7647 GB, free: 4.422 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004106/0.6257, allocations: 1.364 MB / 0.766 GB, free: 3.094 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6257, allocations: 0 / 0.766 GB, free: 3.094 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.6257, allocations: 0 / 0.766 GB, free: 3.094 MB / 474.7 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.0002568/0.626, allocations: 332.5 kB / 0.7663 GB, free: 2.727 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6261, allocations: 12.03 kB / 0.7663 GB, free: 2.715 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.6261, allocations: 6.688 kB / 0.7663 GB, free: 2.715 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.6262, allocations: 168.5 kB / 0.7665 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6262, allocations: 0 / 0.7665 GB, free: 2.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.6263, allocations: 7.844 kB / 0.7665 GB, free: 2.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.648e-05/0.6263, allocations: 8.688 kB / 0.7665 GB, free: 2.496 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.316e-05/0.6264, allocations: 45.3 kB / 0.7666 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.6264, allocations: 0 / 0.7666 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6264, allocations: 0 / 0.7666 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6265, allocations: 0 / 0.7666 GB, free: 2.449 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.6266, allocations: 138.2 kB / 0.7667 GB, free: 2.277 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.6267, allocations: 30.16 kB / 0.7667 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.6267, allocations: 8.922 kB / 0.7667 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.6267, allocations: 7.984 kB / 0.7667 GB, free: 2.223 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.6268, allocations: 35.69 kB / 0.7668 GB, free: 2.18 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6268, allocations: 0 / 0.7668 GB, free: 2.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.000608/0.6274, allocations: 300.3 kB / 0.7671 GB, free: 1.836 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.6274, allocations: 56.09 kB / 0.7671 GB, free: 1.77 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.6275, allocations: 106.4 kB / 0.7672 GB, free: 1.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.6275, allocations: 25.7 kB / 0.7672 GB, free: 1.629 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.6276, allocations: 84.14 kB / 0.7673 GB, free: 1.543 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.6276, allocations: 11.84 kB / 0.7673 GB, free: 1.531 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.6276, allocations: 0 / 0.7673 GB, free: 1.531 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.6277, allocations: 310.8 kB / 0.7676 GB, free: 1.219 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.6278, allocations: 20.02 kB / 0.7676 GB, free: 1.199 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.6278, allocations: 26.92 kB / 0.7677 GB, free: 1.168 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.883e-05/0.6279, allocations: 15.98 kB / 0.7677 GB, free: 1.152 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6279, allocations: 0 / 0.7677 GB, free: 1.152 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.628, allocations: 77.5 kB / 0.7678 GB, free: 1.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.628, allocations: 5.875 kB / 0.7678 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.628, allocations: 0 / 0.7678 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.6281, allocations: 4.062 kB / 0.7678 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.6281, allocations: 8 kB / 0.7678 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6281, allocations: 3.953 kB / 0.7678 GB, free: 1.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.6282, allocations: 0 / 0.7678 GB, free: 1.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.6282, allocations: 4 kB / 0.7678 GB, free: 1.047 MB / 474.7 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 () * 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 6.805e-05/0.6283, allocations: 107.6 kB / 0.7679 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.6283, allocations: 0 / 0.7679 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.6285, allocations: 89.14 kB / 0.768 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6285, allocations: 8 kB / 0.768 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6285, allocations: 0 / 0.768 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6285, allocations: 3.953 kB / 0.768 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.6286, allocations: 130.2 kB / 0.7681 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6286, allocations: 0 / 0.7681 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.6287, allocations: 11.98 kB / 0.7681 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6287, allocations: 0 / 0.7681 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.6287, allocations: 0 / 0.7681 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6287, allocations: 1.641 kB / 0.7681 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6287, allocations: 0 / 0.7681 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.6289, allocations: 118 kB / 0.7682 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.6289, allocations: 82.61 kB / 0.7683 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.629, allocations: 0 / 0.7683 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.629, allocations: 0 / 0.7683 GB, free: 436 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.629, allocations: 8 kB / 0.7683 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.629, allocations: 3.938 kB / 0.7683 GB, free: 424 kB / 474.7 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.6291, allocations: 92.98 kB / 0.7684 GB, free: 332 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6291, allocations: 0 / 0.7684 GB, free: 332 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.6293, allocations: 24.06 kB / 0.7684 GB, free: 308 kB / 474.7 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 () * 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.0001739/0.6295, allocations: 127.2 kB / 0.7686 GB, free: 172 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.262e-05/0.6296, allocations: 27.98 kB / 0.7686 GB, free: 144 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6296, allocations: 0 / 0.7686 GB, free: 144 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.891e-05/0.6296, allocations: 16.73 kB / 0.7686 GB, free: 128 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.6297, allocations: 7.953 kB / 0.7686 GB, free: 120 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.6299, allocations: 84.58 kB / 0.7687 GB, free: 16 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.6302, allocations: 0.6886 MB / 0.7694 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.854e-05/0.6302, allocations: 4 kB / 0.7694 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.6303, allocations: 11.44 kB / 0.7694 GB, free: 15.29 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6303, allocations: 0 / 0.7694 GB, free: 15.29 MB / 490.7 MB Notification: Performance of Templates: time 0.002869/0.6331, allocations: 0.8515 MB / 0.7702 GB, free: 14.47 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.pipe 2>&1)