Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009626/0.0009627, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.191/1.191, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.317/1.317, allocations: 251.6 MB / 0.5088 GB, free: 3.32 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 67.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3852, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002489/0.3877, allocations: 1.55 MB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.388, allocations: 112.5 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.3881, allocations: 0 / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.3881, allocations: 3.984 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.3882, allocations: 7.938 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3883, allocations: 15.98 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.508e-05/0.3884, allocations: 47.78 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.807e-05/0.3885, allocations: 15.98 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.785e-05/0.3885, allocations: 15.98 kB / 0.7255 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.3886, allocations: 23.8 kB / 0.7255 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3886, allocations: 4 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.3887, allocations: 19.98 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.3887, allocations: 7.984 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.3888, allocations: 23.86 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.3889, allocations: 55.8 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3889, allocations: 4 kB / 0.7257 GB, free: 11.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.92e-07/0.3889, allocations: 0 / 0.7257 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.975e-06/0.3889, allocations: 0 / 0.7257 GB, free: 11.24 MB / 0.545 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.0004653/0.3894, allocations: 381.2 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3894, allocations: 8.031 kB / 0.726 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3894, allocations: 8.844 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.953e-05/0.3895, allocations: 176.2 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.3896, allocations: 384 / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3896, allocations: 4.312 kB / 0.7262 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.3898, allocations: 82.2 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3898, allocations: 192 / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3898, allocations: 3.938 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3898, allocations: 0 / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.3901, allocations: 71.92 kB / 0.7264 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.3904, allocations: 288.9 kB / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3906, allocations: 78.34 kB / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3908, allocations: 36.92 kB / 0.7267 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/0.391, allocations: 117.1 kB / 0.7269 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.391, allocations: 30.56 kB / 0.7269 GB, free: 9.801 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.3911, allocations: 0 / 0.7269 GB, free: 9.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004974/0.3916, allocations: 145.5 kB / 0.727 GB, free: 9.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3916, allocations: 59.33 kB / 0.7271 GB, free: 9.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.3917, allocations: 125.8 kB / 0.7272 GB, free: 9.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3917, allocations: 25.7 kB / 0.7272 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.3918, allocations: 92.12 kB / 0.7273 GB, free: 9.324 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3918, allocations: 15.83 kB / 0.7273 GB, free: 9.309 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.3918, allocations: 13.72 kB / 0.7273 GB, free: 9.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.3919, allocations: 326.8 kB / 0.7277 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.3921, allocations: 35.97 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3922, allocations: 35.95 kB / 0.7277 GB, free: 8.891 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.3925, allocations: 76.78 kB / 0.7278 GB, free: 8.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3925, allocations: 7.938 kB / 0.7278 GB, free: 8.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002968/0.3928, allocations: 117.5 kB / 0.7279 GB, free: 8.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3928, allocations: 4 kB / 0.7279 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3928, allocations: 0 / 0.7279 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.3928, allocations: 4 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.3929, allocations: 15.92 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.393, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.393, allocations: 15.98 kB / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.393, allocations: 0 / 0.728 GB, free: 8.645 MB / 0.545 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 6.555e-05/0.3931, allocations: 121.8 kB / 0.7281 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.3931, allocations: 7.906 kB / 0.7281 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.3935, allocations: 117.5 kB / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3935, allocations: 0 / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3935, allocations: 0 / 0.7282 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3935, allocations: 3.984 kB / 0.7282 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3937, allocations: 181.5 kB / 0.7284 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3937, allocations: 0 / 0.7284 GB, free: 8.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.402e-05/0.3938, allocations: 27.97 kB / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3938, allocations: 0 / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3938, allocations: 0 / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3938, allocations: 3.938 kB / 0.7284 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3938, allocations: 4 kB / 0.7284 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.3942, allocations: 215.7 kB / 0.7286 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.3942, allocations: 77.11 kB / 0.7287 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3942, allocations: 0 / 0.7287 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.3943, allocations: 15.98 kB / 0.7287 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3944, allocations: 3.984 kB / 0.7287 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3944, allocations: 4 kB / 0.7287 GB, free: 7.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.3944, allocations: 102 kB / 0.7288 GB, free: 7.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3944, allocations: 0 / 0.7288 GB, free: 7.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000211/0.3946, allocations: 11.91 kB / 0.7288 GB, free: 7.664 MB / 0.545 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 0.0001104/0.3948, allocations: 107.2 kB / 0.7289 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.3951, allocations: 79.92 kB / 0.729 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3951, allocations: 4 kB / 0.729 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3952, allocations: 39.95 kB / 0.729 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3955, allocations: 7.938 kB / 0.729 GB, free: 7.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.3957, allocations: 159.2 kB / 0.7292 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.396, allocations: 0.6926 MB / 0.7299 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.732e-05/0.396, allocations: 3.859 kB / 0.7299 GB, free: 6.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.396, allocations: 11.44 kB / 0.7299 GB, free: 6.508 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.396, allocations: 3.938 kB / 0.7299 GB, free: 6.504 MB / 0.545 GB Notification: Performance of Templates: time 0.002151/0.3982, allocations: 0.6657 MB / 0.7305 GB, free: 5.844 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)