Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.QuadraticLinear.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001378/0.001381, allocations: 185.8 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7371/0.7371, allocations: 82.94 MB / 99.43 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 325.4 MB, free: 6.551 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 97 kB / 393.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 16 kB / 471.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4269, allocations: 67.43 MB / 0.5263 GB, free: 55.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002351/0.4293, allocations: 1.173 MB / 0.5275 GB, free: 54.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003841/0.4297, allocations: 110.6 kB / 0.5276 GB, free: 54.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.4298, allocations: 1.188 kB / 0.5276 GB, free: 54.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.4299, allocations: 6.406 kB / 0.5276 GB, free: 54.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.43, allocations: 6.891 kB / 0.5276 GB, free: 54.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.4302, allocations: 17.92 kB / 0.5276 GB, free: 54.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.4303, allocations: 29 kB / 0.5277 GB, free: 54.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4305, allocations: 11.34 kB / 0.5277 GB, free: 54.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.4306, allocations: 17.81 kB / 0.5277 GB, free: 54.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.4307, allocations: 27.47 kB / 0.5277 GB, free: 54.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.4307, allocations: 2.344 kB / 0.5277 GB, free: 54.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4308, allocations: 12.95 kB / 0.5277 GB, free: 54.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.4309, allocations: 14.19 kB / 0.5277 GB, free: 54.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/0.4309, allocations: 33.06 kB / 0.5278 GB, free: 54.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.4311, allocations: 40.31 kB / 0.5278 GB, free: 54.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.485e-06/0.4311, allocations: 0 / 0.5278 GB, free: 54.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4312, allocations: 0 / 0.5278 GB, free: 54.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4312, allocations: 0 / 0.5278 GB, free: 54.57 MB / 410.7 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.0006972/0.4319, allocations: 381.6 kB / 0.5282 GB, free: 54.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.432, allocations: 9.656 kB / 0.5282 GB, free: 54.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.432, allocations: 7.312 kB / 0.5282 GB, free: 54.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.4322, allocations: 172.5 kB / 0.5284 GB, free: 53.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4322, allocations: 5.828 kB / 0.5284 GB, free: 53.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4323, allocations: 1.594 kB / 0.5284 GB, free: 53.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.4328, allocations: 81.69 kB / 0.5284 GB, free: 53.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4328, allocations: 3.938 kB / 0.5284 GB, free: 53.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.4328, allocations: 10.23 kB / 0.5285 GB, free: 53.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-06/0.4329, allocations: 0 / 0.5285 GB, free: 53.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006978/0.4336, allocations: 98.66 kB / 0.5285 GB, free: 53.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.4341, allocations: 283.9 kB / 0.5288 GB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.4346, allocations: 82.95 kB / 0.5289 GB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.435, allocations: 105.2 kB / 0.529 GB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.4351, allocations: 40.59 kB / 0.529 GB, free: 53.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 3.512e-06/0.4351, allocations: 0 / 0.529 GB, free: 53.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.001245/0.4363, allocations: 175.5 kB / 0.5292 GB, free: 53.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.4364, allocations: 56.72 kB / 0.5293 GB, free: 53.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4366, allocations: 130.2 kB / 0.5294 GB, free: 53.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4366, allocations: 25.7 kB / 0.5294 GB, free: 53.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.4367, allocations: 92.77 kB / 0.5295 GB, free: 53.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.4368, allocations: 14.02 kB / 0.5295 GB, free: 53.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-06/0.4368, allocations: 0 / 0.5295 GB, free: 53.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.4369, allocations: 319.5 kB / 0.5298 GB, free: 52.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.4373, allocations: 44.98 kB / 0.5299 GB, free: 52.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.4376, allocations: 53.7 kB / 0.5299 GB, free: 52.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.438, allocations: 44.66 kB / 0.5299 GB, free: 52.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-06/0.438, allocations: 0 / 0.5299 GB, free: 52.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008477/0.4389, allocations: 136.9 kB / 0.5301 GB, free: 52.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.439, allocations: 8.078 kB / 0.5301 GB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.944e-06/0.439, allocations: 1.375 kB / 0.5301 GB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.439, allocations: 0.7969 kB / 0.5301 GB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.4393, allocations: 19.77 kB / 0.5301 GB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4393, allocations: 8.625 kB / 0.5301 GB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.4395, allocations: 20.83 kB / 0.5301 GB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.4396, allocations: 1.375 kB / 0.5301 GB, free: 52.7 MB / 410.7 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 0.0001229/0.4397, allocations: 115.7 kB / 0.5302 GB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.4398, allocations: 2.75 kB / 0.5302 GB, free: 52.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.4407, allocations: 150.4 kB / 0.5304 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-06/0.4407, allocations: 1.953 kB / 0.5304 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.521e-06/0.4407, allocations: 0 / 0.5304 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.314e-06/0.4408, allocations: 0 / 0.5304 GB, free: 52.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.4411, allocations: 183.3 kB / 0.5306 GB, free: 52.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.4411, allocations: 9.844 kB / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.4414, allocations: 20.38 kB / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.827e-06/0.4414, allocations: 0 / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4415, allocations: 2.094 kB / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.061e-06/0.4415, allocations: 7.891 kB / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.091e-06/0.4415, allocations: 0 / 0.5306 GB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.4423, allocations: 223.3 kB / 0.5308 GB, free: 52.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.4424, allocations: 88.83 kB / 0.5309 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.4424, allocations: 0 / 0.5309 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.4427, allocations: 16.52 kB / 0.5309 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.4428, allocations: 12.3 kB / 0.5309 GB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.4429, allocations: 0.6562 kB / 0.5309 GB, free: 52.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000108/0.443, allocations: 98.42 kB / 0.531 GB, free: 51.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.095e-06/0.443, allocations: 0 / 0.531 GB, free: 51.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006182/0.4437, allocations: 14.33 kB / 0.531 GB, free: 51.96 MB / 410.7 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.0001905/0.4439, allocations: 102.4 kB / 0.5311 GB, free: 51.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.4447, allocations: 106.6 kB / 0.5312 GB, free: 51.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.648e-06/0.4447, allocations: 0 / 0.5312 GB, free: 51.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.4451, allocations: 53.94 kB / 0.5313 GB, free: 51.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.4455, allocations: 6.172 kB / 0.5313 GB, free: 51.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.446, allocations: 152.5 kB / 0.5314 GB, free: 51.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.4462, allocations: 0.6889 MB / 0.5321 GB, free: 51.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.4463, allocations: 11.16 kB / 0.5321 GB, free: 51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.4464, allocations: 8.188 kB / 0.5321 GB, free: 51 MB / 410.7 MB Notification: Performance of SimCode: time 2.956e-06/0.4464, allocations: 1.312 kB / 0.5321 GB, free: 51 MB / 410.7 MB Notification: Performance of Templates: time 0.005278/0.4517, allocations: 0.6475 MB / 0.5328 GB, free: 50.91 MB / 410.7 MB