Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001217/0.001217, allocations: 188.9 kB / 361.4 MB, free: 6.844 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.692/1.692, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009017/0.0009019, allocations: 95.64 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.132e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.675, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.867, allocations: 137.2 MB / 1.098 GB, free: 2.562 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.8674, allocations: 74.3 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003607/0.871, allocations: 1.071 MB / 1.1 GB, free: 1.445 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.871, allocations: 0.625 kB / 1.1 GB, free: 1.445 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.8711, allocations: 0 / 1.1 GB, free: 1.445 MB / 0.698 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.0004768/0.8716, allocations: 381.2 kB / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.8716, allocations: 8.031 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.8717, allocations: 6.25 kB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.8718, allocations: 179.4 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.8719, allocations: 2.953 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.8719, allocations: 0.7812 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001264/0.872, allocations: 39.92 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.8721, allocations: 50.36 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8721, allocations: 4.062 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8722, allocations: 1.406 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8722, allocations: 0.8438 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.8727, allocations: 298.9 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.091e-05/0.8728, allocations: 46.5 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.8729, allocations: 28.94 kB / 1.101 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.8731, allocations: 101.1 kB / 1.101 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.8731, allocations: 31.44 kB / 1.101 GB, free: 148 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.8731, allocations: 2.906 kB / 1.101 GB, free: 148 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002769/0.8734, allocations: 77.56 kB / 1.101 GB, free: 64 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.8735, allocations: 55.45 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.8736, allocations: 106.6 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.8736, allocations: 29.7 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.8737, allocations: 88.14 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.8737, allocations: 11.81 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.8737, allocations: 2.781 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8738, allocations: 322.8 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.8739, allocations: 12 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.8739, allocations: 22.19 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.599e-05/0.874, allocations: 23.92 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.874, allocations: 0 / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001559/0.8742, allocations: 77.22 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8742, allocations: 4 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8742, allocations: 3.828 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.8742, allocations: 4 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.8744, allocations: 15.98 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.8744, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.193e-05/0.8745, allocations: 23.97 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.8745, allocations: 5.625 kB / 1.101 GB, free: 15.24 MB / 0.7136 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 () * 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 9.896e-05/0.8746, allocations: 104.9 kB / 1.102 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.8746, allocations: 7.906 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.8749, allocations: 85.94 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8749, allocations: 0 / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.8749, allocations: 0 / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.8749, allocations: 8 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.8751, allocations: 150.2 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8751, allocations: 4 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.8752, allocations: 26.83 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8752, allocations: 4 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.8752, allocations: 3.797 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8752, allocations: 0 / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8752, allocations: 3 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.8755, allocations: 175.4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.8755, allocations: 84.95 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.8755, allocations: 7.953 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.8757, allocations: 11.98 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.8757, allocations: 15.92 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.8757, allocations: 4 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.8758, allocations: 96.52 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8758, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002211/0.876, allocations: 12 kB / 1.102 GB, free: 14.38 MB / 0.7136 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 () * 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.000166/0.8762, allocations: 99.03 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.8763, allocations: 36 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8763, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.8764, allocations: 19.98 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.8765, allocations: 4.516 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.8768, allocations: 102.1 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.8771, allocations: 0.6892 MB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.8772, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.8772, allocations: 7.438 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.8772, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.0029/0.8801, allocations: 0.6016 MB / 1.104 GB, free: 12.8 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)