Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.304/1.304, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009806/0.0009805, allocations: 180.1 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006631/0.000663, allocations: 82.42 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 15.59 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1723, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.3222, allocations: 131.7 MB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3225, allocations: 67.97 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003198/0.3257, allocations: 1.087 MB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3257, allocations: 0 / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.667e-06/0.3257, allocations: 11.94 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004236/0.3262, allocations: 379.2 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3262, allocations: 12.03 kB / 1.031 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.3263, allocations: 4.844 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3264, allocations: 180.2 kB / 1.032 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3264, allocations: 8.375 kB / 1.032 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.3264, allocations: 384 / 1.032 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.3267, allocations: 90.2 kB / 1.032 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3267, allocations: 192 / 1.032 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3267, allocations: 3.938 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3267, allocations: 4 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.327, allocations: 99.86 kB / 1.032 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.3275, allocations: 312.9 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.3277, allocations: 86.47 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3279, allocations: 60.91 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.3281, allocations: 109.1 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3281, allocations: 34.5 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3281, allocations: 0 / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005599/0.3287, allocations: 189.5 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3287, allocations: 51.41 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3288, allocations: 132.5 kB / 1.033 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3289, allocations: 25.7 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.3289, allocations: 88.12 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.329, allocations: 19.75 kB / 1.033 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.329, allocations: 0 / 1.033 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3291, allocations: 314.8 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3292, allocations: 51.95 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3294, allocations: 51.95 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.3297, allocations: 108.7 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3297, allocations: 3.938 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.33, allocations: 133.6 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.33, allocations: 7.938 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3301, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3301, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3302, allocations: 23.98 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3302, allocations: 4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.186e-05/0.3303, allocations: 23.88 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3303, allocations: 0 / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 7.888e-05/0.3304, allocations: 117.8 kB / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.3305, allocations: 4 kB / 1.034 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.3308, allocations: 153.4 kB / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3309, allocations: 0 / 1.034 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3309, allocations: 3.938 kB / 1.034 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3309, allocations: 3.984 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.3311, allocations: 181.6 kB / 1.034 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3311, allocations: 4 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.3312, allocations: 19.98 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3312, allocations: 0 / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.3312, allocations: 8 kB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3312, allocations: 0 / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3312, allocations: 0 / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.3316, allocations: 239.2 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.3316, allocations: 85.02 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.3317, allocations: 0 / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.3318, allocations: 20.41 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3318, allocations: 11.98 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.3318, allocations: 0 / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.458e-05/0.3319, allocations: 95.27 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3319, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002147/0.3321, allocations: 16 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 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.000156/0.3323, allocations: 107.2 kB / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3326, allocations: 103.9 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3326, allocations: 3.938 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3328, allocations: 51.95 kB / 1.035 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.333, allocations: 13.14 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003345/0.3334, allocations: 164.6 kB / 1.035 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3336, allocations: 0.6809 MB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.3337, allocations: 11.84 kB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.3337, allocations: 7.438 kB / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.3337, allocations: 0 / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of Templates: time 0.002516/0.3362, allocations: 0.6457 MB / 1.036 GB, free: 4.973 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)