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.0009391/0.0009393, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007562/0.007562, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.6829/0.6829, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.0006364/0.0006362, allocations: 20.7 kB / 447.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4155, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001494/0.4171, allocations: 1.177 MB / 0.5068 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003125/0.4174, allocations: 92.3 kB / 0.5069 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.4174, allocations: 3.938 kB / 0.5069 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.4175, allocations: 0 / 0.5069 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.4176, allocations: 11.92 kB / 0.5069 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.4177, allocations: 15.98 kB / 0.5069 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.4178, allocations: 47.84 kB / 0.507 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.4179, allocations: 8 kB / 0.507 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.418, allocations: 19.92 kB / 0.507 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.418, allocations: 15.92 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.4181, allocations: 4 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.4181, allocations: 19.97 kB / 0.507 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.4182, allocations: 7.938 kB / 0.507 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.4182, allocations: 49.55 kB / 0.5071 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.4183, allocations: 53.83 kB / 0.5071 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4184, allocations: 7.938 kB / 0.5072 GB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.4184, allocations: 0 / 0.5072 GB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.4184, allocations: 3.938 kB / 0.5072 GB, free: 14.79 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.0004923/0.4189, allocations: 375.3 kB / 0.5075 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4189, allocations: 11.98 kB / 0.5075 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.419, allocations: 12.84 kB / 0.5075 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.795e-05/0.4191, allocations: 184.1 kB / 0.5077 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4191, allocations: 384 / 0.5077 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.4191, allocations: 7.938 kB / 0.5077 GB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.4194, allocations: 81.66 kB / 0.5078 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4194, allocations: 4 kB / 0.5078 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4195, allocations: 3.984 kB / 0.5078 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.4195, allocations: 4 kB / 0.5078 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.4198, allocations: 95.91 kB / 0.5079 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.4202, allocations: 284.8 kB / 0.5082 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.4204, allocations: 78.53 kB / 0.5082 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.4206, allocations: 52.91 kB / 0.5083 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.4208, allocations: 117 kB / 0.5084 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4209, allocations: 30.56 kB / 0.5084 GB, free: 13.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4209, allocations: 0 / 0.5084 GB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005942/0.4215, allocations: 181.5 kB / 0.5086 GB, free: 13.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4215, allocations: 55.41 kB / 0.5087 GB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.4216, allocations: 129.6 kB / 0.5088 GB, free: 12.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.4216, allocations: 29.7 kB / 0.5088 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.4217, allocations: 92.05 kB / 0.5089 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4217, allocations: 15.83 kB / 0.5089 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.4217, allocations: 13.72 kB / 0.5089 GB, free: 12.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.924e-05/0.4218, allocations: 314.8 kB / 0.5092 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4219, allocations: 51.95 kB / 0.5093 GB, free: 12.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.4221, allocations: 47.97 kB / 0.5093 GB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.4224, allocations: 104.8 kB / 0.5094 GB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4224, allocations: 0 / 0.5094 GB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003106/0.4227, allocations: 133.5 kB / 0.5096 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4227, allocations: 10.19 kB / 0.5096 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4227, allocations: 0 / 0.5096 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4228, allocations: 0 / 0.5096 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4229, allocations: 27.97 kB / 0.5096 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4229, allocations: 3.938 kB / 0.5096 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.423, allocations: 23.98 kB / 0.5096 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.423, allocations: 3.938 kB / 0.5096 GB, free: 12.03 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.4231, allocations: 109.8 kB / 0.5097 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.4231, allocations: 4 kB / 0.5097 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.4235, allocations: 157.4 kB / 0.5099 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4235, allocations: 0 / 0.5099 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4235, allocations: 0 / 0.5099 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4235, allocations: 4 kB / 0.5099 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.4237, allocations: 181.6 kB / 0.5101 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4237, allocations: 384 / 0.5101 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.956e-05/0.4238, allocations: 19.98 kB / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4238, allocations: 0 / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.4238, allocations: 0 / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4238, allocations: 0 / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4238, allocations: 3.984 kB / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.4242, allocations: 235.3 kB / 0.5103 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.4242, allocations: 85.02 kB / 0.5104 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4242, allocations: 7.922 kB / 0.5104 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4244, allocations: 15.98 kB / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.4244, allocations: 4 kB / 0.5104 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4244, allocations: 4 kB / 0.5104 GB, free: 11.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.4245, allocations: 107.2 kB / 0.5105 GB, free: 11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4245, allocations: 0 / 0.5105 GB, free: 11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.4247, allocations: 8 kB / 0.5105 GB, free: 11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001258/0.4248, allocations: 103.2 kB / 0.5106 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.4252, allocations: 95.92 kB / 0.5107 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4252, allocations: 0 / 0.5107 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.4254, allocations: 59.89 kB / 0.5108 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.4256, allocations: 4 kB / 0.5108 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.4259, allocations: 164.9 kB / 0.5109 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.4261, allocations: 0.6926 MB / 0.5116 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.878e-05/0.4261, allocations: 0 / 0.5116 GB, free: 9.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.4262, allocations: 11.44 kB / 0.5116 GB, free: 9.809 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4262, allocations: 0 / 0.5116 GB, free: 9.809 MB / 382.1 MB Notification: Performance of Templates: time 0.002956/0.4291, allocations: 0.6479 MB / 0.5123 GB, free: 9.164 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: