Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5867/0.5867, allocations: 95.6 MB / 366 MB, free: 10.42 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005407, allocations: 19.98 kB / 446.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2831, allocations: 70.33 MB / 0.505 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001268/0.2844, allocations: 1.157 MB / 0.5061 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.2846, allocations: 92.28 kB / 0.5062 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.2847, allocations: 0 / 0.5062 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.2847, allocations: 3.938 kB / 0.5062 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.599e-05/0.2848, allocations: 8 kB / 0.5062 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.285, allocations: 31.89 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.2851, allocations: 19.97 kB / 0.5063 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.082e-05/0.2851, allocations: 11.94 kB / 0.5063 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.2852, allocations: 11.98 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.2852, allocations: 15.92 kB / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2853, allocations: 4 kB / 0.5063 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.2853, allocations: 15.98 kB / 0.5063 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.2853, allocations: 19.91 kB / 0.5064 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.2854, allocations: 33.7 kB / 0.5064 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.683e-05/0.2855, allocations: 33.91 kB / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.2855, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2855, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.2855, allocations: 0 / 0.5064 GB, free: 15.02 MB / 382.1 MB 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.0004178/0.2859, allocations: 387.1 kB / 0.5068 GB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2859, allocations: 15.98 kB / 0.5068 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.286, allocations: 7.906 kB / 0.5068 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.2861, allocations: 174.9 kB / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2861, allocations: 0 / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2861, allocations: 0 / 0.507 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.2864, allocations: 93.59 kB / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.2864, allocations: 0 / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2864, allocations: 0 / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2864, allocations: 0 / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2867, allocations: 99.92 kB / 0.5072 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.287, allocations: 296.8 kB / 0.5074 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2872, allocations: 78.53 kB / 0.5075 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.2874, allocations: 105.2 kB / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.2874, allocations: 30.56 kB / 0.5076 GB, free: 13.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2874, allocations: 4 kB / 0.5077 GB, free: 13.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000511/0.288, allocations: 185.4 kB / 0.5078 GB, free: 13.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.288, allocations: 51.41 kB / 0.5079 GB, free: 13.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.2881, allocations: 129.5 kB / 0.508 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.2881, allocations: 25.7 kB / 0.508 GB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.2881, allocations: 96.14 kB / 0.5081 GB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.2881, allocations: 11.83 kB / 0.5081 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.2882, allocations: 4 kB / 0.5081 GB, free: 13.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.525e-05/0.2882, allocations: 314.8 kB / 0.5084 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2884, allocations: 43.95 kB / 0.5085 GB, free: 12.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.2885, allocations: 47.97 kB / 0.5085 GB, free: 12.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2886, allocations: 55.95 kB / 0.5086 GB, free: 12.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2887, allocations: 0 / 0.5086 GB, free: 12.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/0.289, allocations: 137.4 kB / 0.5087 GB, free: 12.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.289, allocations: 7.938 kB / 0.5087 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.289, allocations: 3.984 kB / 0.5087 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.289, allocations: 0 / 0.5087 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2891, allocations: 19.98 kB / 0.5087 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2892, allocations: 0 / 0.5087 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.2892, allocations: 19.98 kB / 0.5088 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2893, allocations: 4 kB / 0.5088 GB, free: 12.39 MB / 382.1 MB 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 6.588e-05/0.2893, allocations: 117.8 kB / 0.5089 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.2894, allocations: 7.859 kB / 0.5089 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000349/0.2897, allocations: 137.5 kB / 0.509 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2897, allocations: 0 / 0.509 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2897, allocations: 0 / 0.509 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2897, allocations: 7.938 kB / 0.509 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.2899, allocations: 181.6 kB / 0.5092 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2899, allocations: 4 kB / 0.5092 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.29, allocations: 23.97 kB / 0.5092 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.29, allocations: 3.953 kB / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.29, allocations: 0 / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.29, allocations: 3.938 kB / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.29, allocations: 0 / 0.5092 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.2904, allocations: 235.8 kB / 0.5094 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2904, allocations: 77.11 kB / 0.5095 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.2904, allocations: 3.953 kB / 0.5095 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.2906, allocations: 15.98 kB / 0.5095 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.2906, allocations: 8.031 kB / 0.5095 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2906, allocations: 3.984 kB / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.2907, allocations: 103.3 kB / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.527e-06/0.2907, allocations: 0 / 0.5097 GB, free: 11.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.2909, allocations: 11.94 kB / 0.5097 GB, free: 11.36 MB / 382.1 MB 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.0001448/0.2911, allocations: 99.25 kB / 0.5098 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.2914, allocations: 103.9 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2914, allocations: 0 / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2916, allocations: 51.97 kB / 0.5099 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.2918, allocations: 3.984 kB / 0.5099 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002916/0.2921, allocations: 164.5 kB / 0.5101 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2922, allocations: 0.6965 MB / 0.5107 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.843e-05/0.2923, allocations: 0 / 0.5107 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.2923, allocations: 11.44 kB / 0.5108 GB, free: 10.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2923, allocations: 3.938 kB / 0.5108 GB, free: 10.17 MB / 382.1 MB Notification: Performance of Templates: time 0.002343/0.2946, allocations: 0.6337 MB / 0.5114 GB, free: 9.543 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: