Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.328/2.328, allocations: 248.5 MB / 261.1 MB, free: 6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.001519, allocations: 186.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 101.1 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.12e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.336/7.55, allocations: 2.185 GB / 3.076 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/7.55, allocations: 100.1 kB / 3.076 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3683/7.919, allocations: 107.4 MB / 3.181 GB, free: 45.28 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/7.919, allocations: 3.938 kB / 3.181 GB, free: 45.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.41e-05/7.919, allocations: 20 kB / 3.181 GB, free: 45.26 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003588/7.922, allocations: 1.393 MB / 3.182 GB, free: 43.81 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/7.923, allocations: 12.03 kB / 3.182 GB, free: 43.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/7.923, allocations: 46.55 kB / 3.182 GB, free: 43.74 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02507/7.948, allocations: 2.082 MB / 3.184 GB, free: 41.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/7.952, allocations: 1.297 MB / 3.186 GB, free: 40.31 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/7.952, allocations: 16 kB / 3.186 GB, free: 40.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/7.952, allocations: 23.98 kB / 3.186 GB, free: 40.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/7.953, allocations: 499.8 kB / 3.186 GB, free: 39.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/7.953, allocations: 7.938 kB / 3.186 GB, free: 39.76 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/7.953, allocations: 8 kB / 3.186 GB, free: 39.75 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/7.953, allocations: 4 kB / 3.186 GB, free: 39.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/7.955, allocations: 0.5937 MB / 3.187 GB, free: 39.16 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/7.971, allocations: 3.647 MB / 3.19 GB, free: 35.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002851/7.974, allocations: 0.7546 MB / 3.191 GB, free: 34.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007967/7.975, allocations: 316.9 kB / 3.191 GB, free: 34.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/7.975, allocations: 97.09 kB / 3.191 GB, free: 34.15 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/7.976, allocations: 452.6 kB / 3.192 GB, free: 33.69 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 3.286e-06/7.976, allocations: 0 / 3.192 GB, free: 33.69 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.003754/7.98, allocations: 0.8768 MB / 3.193 GB, free: 32.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/7.98, allocations: 110.8 kB / 3.193 GB, free: 32.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/7.985, allocations: 2.17 MB / 3.195 GB, free: 30.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003089/7.986, allocations: 37.7 kB / 3.195 GB, free: 30.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/7.987, allocations: 0.5621 MB / 3.196 GB, free: 29.88 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/7.987, allocations: 63.02 kB / 3.196 GB, free: 29.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/7.987, allocations: 8 kB / 3.196 GB, free: 29.81 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/7.987, allocations: 322 kB / 3.196 GB, free: 29.49 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/7.988, allocations: 440.2 kB / 3.196 GB, free: 29.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/7.99, allocations: 488 kB / 3.197 GB, free: 28.58 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/7.991, allocations: 410.7 kB / 3.197 GB, free: 28.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/7.991, allocations: 0 / 3.197 GB, free: 28.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00531/7.996, allocations: 1.414 MB / 3.199 GB, free: 26.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/7.996, allocations: 130.4 kB / 3.199 GB, free: 26.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/7.996, allocations: 4 kB / 3.199 GB, free: 26.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/8.001, allocations: 0.7523 MB / 3.199 GB, free: 25.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005706/8.007, allocations: 499.3 kB / 3.2 GB, free: 25.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/8.01, allocations: 2.666 MB / 3.203 GB, free: 22.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005858/8.016, allocations: 463.2 kB / 3.203 GB, free: 22.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002865/8.016, allocations: 35.97 kB / 3.203 GB, free: 22.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/8.016, allocations: 7.938 kB / 3.203 GB, free: 22.07 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003445/8.019, allocations: 1.191 MB / 3.204 GB, free: 20.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/8.02, allocations: 0 / 3.204 GB, free: 20.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/8.023, allocations: 0.6275 MB / 3.205 GB, free: 20.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0057/8.029, allocations: 0.4915 MB / 3.205 GB, free: 19.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006342/8.035, allocations: 6.169 MB / 3.211 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005736/8.041, allocations: 463.2 kB / 3.212 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/8.041, allocations: 35.97 kB / 3.212 GB, free: 12.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003377/8.041, allocations: 158.6 kB / 3.212 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/8.042, allocations: 134.3 kB / 3.212 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/8.045, allocations: 0.9191 MB / 3.213 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/8.045, allocations: 4 kB / 3.213 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/8.045, allocations: 4 kB / 3.213 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/8.045, allocations: 0 / 3.213 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/8.047, allocations: 1.234 MB / 3.214 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-06/8.047, allocations: 0 / 3.214 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004864/8.052, allocations: 451.4 kB / 3.215 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/8.052, allocations: 4 kB / 3.215 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/8.052, allocations: 19.97 kB / 3.215 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/8.052, allocations: 0 / 3.215 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/8.052, allocations: 0 / 3.215 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/8.054, allocations: 0.8466 MB / 3.215 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/8.055, allocations: 427.1 kB / 3.216 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003242/8.056, allocations: 8 kB / 3.216 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005287/8.061, allocations: 399.5 kB / 3.216 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/8.061, allocations: 28.06 kB / 3.216 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/8.061, allocations: 27.97 kB / 3.216 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003622/8.065, allocations: 1.675 MB / 3.218 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.032e-06/8.065, allocations: 4 kB / 3.218 GB, free: 6.07 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00272/8.068, allocations: 0.5857 MB / 3.219 GB, free: 5.484 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.004175/8.072, allocations: 2.279 MB / 3.221 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006157/8.078, allocations: 2.363 MB / 3.223 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/8.078, allocations: 0 / 3.223 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009403/8.079, allocations: 417.4 kB / 3.223 GB, free: 320 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/8.082, allocations: 317.2 kB / 3.224 GB, free: 0 / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6405/8.722, allocations: 3.986 MB / 3.228 GB, free: 265.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/8.724, allocations: 1.418 MB / 3.229 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006483/8.73, allocations: 0.985 MB / 3.23 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/8.732, allocations: 415.9 kB / 3.23 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/8.732, allocations: 0 / 3.23 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.155/8.887, allocations: 55.18 MB / 3.284 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/8.887, allocations: 215.4 kB / 3.284 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.896/13.78, allocations: 0 / 3.284 GB, free: 258.9 MB / 0.8698 GB