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.001442/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001741/0.001742, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.625/1.625, allocations: 205.1 MB / 222 MB, free: 5.012 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.613/0.613, allocations: 95.46 MB / 364.8 MB, free: 10.18 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.001401/0.001401, allocations: 71.8 kB / 444.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3268, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.00223/0.3291, allocations: 1.512 MB / 0.5032 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002824/0.3294, allocations: 104.2 kB / 0.5033 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.3294, allocations: 0 / 0.5033 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.3295, allocations: 0 / 0.5033 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.3295, allocations: 11.91 kB / 0.5033 GB, free: 16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.3297, allocations: 15.98 kB / 0.5033 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.3298, allocations: 39.86 kB / 0.5033 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.3299, allocations: 11.98 kB / 0.5033 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.3299, allocations: 15.92 kB / 0.5034 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.119e-05/0.33, allocations: 23.92 kB / 0.5034 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.33, allocations: 4 kB / 0.5034 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.3301, allocations: 15.98 kB / 0.5034 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.3301, allocations: 19.91 kB / 0.5034 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.3301, allocations: 15.88 kB / 0.5034 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3302, allocations: 61.77 kB / 0.5035 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3303, allocations: 0 / 0.5035 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3303, allocations: 0 / 0.5035 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.3303, allocations: 0 / 0.5035 GB, free: 15.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.0004572/0.3307, allocations: 383.2 kB / 0.5039 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3308, allocations: 11.98 kB / 0.5039 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3308, allocations: 8.844 kB / 0.5039 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.344e-05/0.3309, allocations: 180.2 kB / 0.5041 GB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3309, allocations: 4.375 kB / 0.5041 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3309, allocations: 3.938 kB / 0.5041 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3312, allocations: 73.64 kB / 0.5041 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.3312, allocations: 4 kB / 0.5041 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3312, allocations: 0 / 0.5041 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3312, allocations: 4 kB / 0.5041 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3315, allocations: 71.92 kB / 0.5042 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.3317, allocations: 288.9 kB / 0.5045 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3319, allocations: 74.41 kB / 0.5046 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3321, allocations: 44.92 kB / 0.5046 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.3323, allocations: 109.1 kB / 0.5047 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3323, allocations: 30.56 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3323, allocations: 7.984 kB / 0.5047 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005019/0.3328, allocations: 145.4 kB / 0.5049 GB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3329, allocations: 59.41 kB / 0.5049 GB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.935e-05/0.333, allocations: 129.8 kB / 0.5051 GB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.333, allocations: 25.7 kB / 0.5051 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.333, allocations: 96.12 kB / 0.5052 GB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.3331, allocations: 7.844 kB / 0.5052 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.3331, allocations: 13.72 kB / 0.5052 GB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.3332, allocations: 330.7 kB / 0.5055 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3333, allocations: 35.97 kB / 0.5055 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3334, allocations: 39.95 kB / 0.5056 GB, free: 13.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.3337, allocations: 76.78 kB / 0.5057 GB, free: 13.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3337, allocations: 4 kB / 0.5057 GB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002823/0.334, allocations: 117.5 kB / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.334, allocations: 4 kB / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.334, allocations: 0 / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.334, allocations: 0 / 0.5058 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3341, allocations: 15.98 kB / 0.5058 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3342, allocations: 0 / 0.5058 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/0.3342, allocations: 15.98 kB / 0.5058 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3343, allocations: 3.938 kB / 0.5058 GB, free: 13.17 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 6.77e-05/0.3343, allocations: 117.8 kB / 0.5059 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3344, allocations: 7.906 kB / 0.5059 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.3347, allocations: 117.5 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3347, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3347, allocations: 4 kB / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3347, allocations: 0 / 0.506 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3348, allocations: 185.6 kB / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3348, allocations: 0 / 0.5062 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-05/0.3349, allocations: 15.97 kB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3349, allocations: 0 / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.335, allocations: 4 kB / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.335, allocations: 0 / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.335, allocations: 0 / 0.5062 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.3353, allocations: 211.3 kB / 0.5064 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.3353, allocations: 81.11 kB / 0.5065 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3353, allocations: 0 / 0.5065 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.3354, allocations: 7.984 kB / 0.5065 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.3355, allocations: 16.34 kB / 0.5065 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.3355, allocations: 0 / 0.5065 GB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.3355, allocations: 110.6 kB / 0.5066 GB, free: 12.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3355, allocations: 0 / 0.5066 GB, free: 12.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.3358, allocations: 12 kB / 0.5067 GB, free: 12.2 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.0001187/0.3359, allocations: 99.19 kB / 0.5068 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.3362, allocations: 91.89 kB / 0.5068 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3362, allocations: 0 / 0.5068 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3364, allocations: 39.95 kB / 0.5069 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.3366, allocations: 11.91 kB / 0.5069 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.3369, allocations: 163.5 kB / 0.507 GB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3371, allocations: 0.6887 MB / 0.5077 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.057e-05/0.3372, allocations: 4 kB / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.3372, allocations: 7.438 kB / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3372, allocations: 0 / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of Templates: time 0.002443/0.3396, allocations: 0.666 MB / 0.5084 GB, free: 10.38 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (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)