Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009565/0.0009565, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 172.9 kB / 25.18 MB, free: 9.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.886/0.886, allocations: 177.2 MB / 205.6 MB, free: 4.367 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.921/1.921, allocations: 389.6 MB / 0.6364 GB, free: 13.24 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 3.984 kB / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.429e-05, allocations: 5.547 kB / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002949/0.002984, allocations: 1.581 MB / 0.7771 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003824/0.003366, allocations: 123.5 kB / 0.7772 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.00341, allocations: 0 / 0.7772 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.937e-05/0.003479, allocations: 7.938 kB / 0.7772 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.003551, allocations: 7.922 kB / 0.7772 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.003763, allocations: 19.92 kB / 0.7773 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.221e-05/0.003855, allocations: 47.84 kB / 0.7773 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.003943, allocations: 7.984 kB / 0.7773 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.491e-05/0.004018, allocations: 27.97 kB / 0.7773 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.004064, allocations: 15.92 kB / 0.7774 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.004082, allocations: 4 kB / 0.7774 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.004173, allocations: 19.98 kB / 0.7774 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.004225, allocations: 11.98 kB / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.00425, allocations: 11.94 kB / 0.7774 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.00439, allocations: 59.73 kB / 0.7775 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004392, allocations: 0 / 0.7775 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004393, allocations: 0 / 0.7775 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.004398, allocations: 0 / 0.7775 GB, free: 12.56 MB / 0.7448 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.0003878/0.004785, allocations: 276.7 kB / 0.7777 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.004824, allocations: 8.031 kB / 0.7777 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.005028, allocations: 28.91 kB / 0.7778 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.005132, allocations: 121.7 kB / 0.7779 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.005144, allocations: 384 / 0.7779 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.005157, allocations: 4.375 kB / 0.7779 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.005304, allocations: 69.75 kB / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.005312, allocations: 192 / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.005321, allocations: 4.375 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005327, allocations: 384 / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.005361, allocations: 15.88 kB / 0.778 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.005638, allocations: 163.1 kB / 0.7781 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.005724, allocations: 81.28 kB / 0.7782 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.005749, allocations: 12.92 kB / 0.7782 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.005758, allocations: 0 / 0.7782 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.005784, allocations: 34.5 kB / 0.7782 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005785, allocations: 4 kB / 0.7783 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001359/0.005921, allocations: 49.72 kB / 0.7783 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.005951, allocations: 51.41 kB / 0.7783 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.00601, allocations: 122.7 kB / 0.7785 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.006021, allocations: 25.7 kB / 0.7785 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.006053, allocations: 92.08 kB / 0.7786 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.006073, allocations: 11.94 kB / 0.7786 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.006098, allocations: 13.72 kB / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.006173, allocations: 314.8 kB / 0.7789 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.515e-05/0.006188, allocations: 6.828 kB / 0.7789 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.006201, allocations: 11.98 kB / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.096e-05/0.006232, allocations: 19.62 kB / 0.7789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.006234, allocations: 3.938 kB / 0.7789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.176e-05/0.006285, allocations: 41.69 kB / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.006296, allocations: 4 kB / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006301, allocations: 0 / 0.779 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.006309, allocations: 3.938 kB / 0.779 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.006383, allocations: 11.98 kB / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.006385, allocations: 0 / 0.779 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.006411, allocations: 11.98 kB / 0.779 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006417, allocations: 8 kB / 0.779 GB, free: 10.8 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.00647, allocations: 112.6 kB / 0.7791 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.006484, allocations: 8 kB / 0.7791 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.006503, allocations: 8 kB / 0.7791 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.006507, allocations: 3.938 kB / 0.7791 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.006509, allocations: 7.984 kB / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006512, allocations: 0 / 0.7792 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.006594, allocations: 73.88 kB / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.006595, allocations: 0 / 0.7792 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.006625, allocations: 8 kB / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006627, allocations: 4 kB / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.006634, allocations: 4 kB / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.006635, allocations: 0 / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006636, allocations: 0 / 0.7792 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.799e-05/0.006734, allocations: 194.5 kB / 0.7794 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-06/0.006742, allocations: 11.89 kB / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.006754, allocations: 0 / 0.7794 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.006791, allocations: 7.938 kB / 0.7794 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.00682, allocations: 8.016 kB / 0.7795 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.006826, allocations: 11.94 kB / 0.7795 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.712e-05/0.006843, allocations: 20.22 kB / 0.7795 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006843, allocations: 4 kB / 0.7795 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001098/0.006953, allocations: 8 kB / 0.7795 GB, free: 10.27 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.431e-05/0.007038, allocations: 76.42 kB / 0.7796 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.325e-05/0.007101, allocations: 16.84 kB / 0.7796 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.007106, allocations: 0 / 0.7796 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.007127, allocations: 16.8 kB / 0.7796 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.007256, allocations: 8 kB / 0.7796 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.007511, allocations: 180.9 kB / 0.7798 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.007559, allocations: 71.28 kB / 0.7798 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.007624, allocations: 63.36 kB / 0.7799 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.007625, allocations: 0 / 0.7799 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of Templates: time 0.001496/0.00912, allocations: 0.9164 MB / 0.7808 GB, free: 8.863 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear > Buildings_13_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.67426623404026]