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.22/2.22, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 187.3 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.383/2.383, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.001124/0.001124, allocations: 95.42 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006385, allocations: 12.16 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2391, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.626/6.865, allocations: 2.185 GB / 3.084 GB, free: 108 kB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.6326/7.498, allocations: 101.6 kB / 3.084 GB, free: 341 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.3798/7.878, allocations: 107.6 MB / 3.189 GB, free: 262.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/7.878, allocations: 0 / 3.189 GB, free: 262.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.285e-05/7.878, allocations: 20 kB / 3.189 GB, free: 262.7 MB / 0.8855 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.005762/7.884, allocations: 1.894 MB / 3.191 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/7.884, allocations: 8.031 kB / 3.191 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/7.884, allocations: 54.55 kB / 3.191 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02591/7.91, allocations: 2.082 MB / 3.193 GB, free: 258.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004562/7.914, allocations: 1.316 MB / 3.195 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/7.914, allocations: 12 kB / 3.195 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/7.915, allocations: 24 kB / 3.195 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009191/7.924, allocations: 1.229 MB / 3.196 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/7.924, allocations: 3.953 kB / 3.196 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/7.924, allocations: 4 kB / 3.196 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/7.924, allocations: 4 kB / 3.196 GB, free: 255.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/7.941, allocations: 2.064 MB / 3.198 GB, free: 253.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/7.958, allocations: 3.663 MB / 3.201 GB, free: 250 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.018/7.976, allocations: 2.173 MB / 3.203 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/7.977, allocations: 93.09 kB / 3.204 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009063/7.986, allocations: 1.185 MB / 3.205 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 5.65e-06/7.986, allocations: 0 / 3.205 GB, free: 246.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.02838/8.014, allocations: 3.413 MB / 3.208 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/8.014, allocations: 110.8 kB / 3.208 GB, free: 243 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00656/8.021, allocations: 2.205 MB / 3.21 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003381/8.021, allocations: 37.7 kB / 3.21 GB, free: 240.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/8.022, allocations: 0.5582 MB / 3.211 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/8.023, allocations: 67 kB / 3.211 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/8.023, allocations: 8 kB / 3.211 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/8.023, allocations: 322 kB / 3.211 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009282/8.032, allocations: 1.171 MB / 3.212 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009093/8.041, allocations: 1.21 MB / 3.214 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008828/8.05, allocations: 1.091 MB / 3.215 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/8.05, allocations: 0 / 3.215 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.02085/8.071, allocations: 2.854 MB / 3.217 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.69e-05/8.071, allocations: 142.3 kB / 3.218 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/8.071, allocations: 0 / 3.218 GB, free: 233.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005008/8.076, allocations: 0.7562 MB / 3.218 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005797/8.082, allocations: 0.4915 MB / 3.219 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/8.085, allocations: 2.666 MB / 3.221 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/8.092, allocations: 467.2 kB / 3.222 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/8.092, allocations: 35.97 kB / 3.222 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/8.092, allocations: 4 kB / 3.222 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01907/8.111, allocations: 2.615 MB / 3.224 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/8.111, allocations: 3.953 kB / 3.224 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/8.115, allocations: 0.6353 MB / 3.225 GB, free: 225.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005803/8.12, allocations: 0.4917 MB / 3.226 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006572/8.127, allocations: 6.24 MB / 3.232 GB, free: 218.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/8.133, allocations: 451.2 kB / 3.232 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/8.133, allocations: 31.97 kB / 3.232 GB, free: 217.7 MB / 0.8855 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 () * Number of clocked 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.001492/8.135, allocations: 0.676 MB / 3.233 GB, free: 217 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/8.135, allocations: 138.2 kB / 3.233 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/8.154, allocations: 2.348 MB / 3.235 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/8.154, allocations: 3.938 kB / 3.235 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/8.154, allocations: 0 / 3.235 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/8.154, allocations: 0 / 3.235 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/8.156, allocations: 1.235 MB / 3.236 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/8.157, allocations: 3.938 kB / 3.236 GB, free: 213.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004926/8.161, allocations: 447.5 kB / 3.237 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/8.162, allocations: 7.984 kB / 3.237 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/8.162, allocations: 15.98 kB / 3.237 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/8.162, allocations: 0 / 3.237 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/8.162, allocations: 0 / 3.237 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/8.179, allocations: 2.284 MB / 3.239 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/8.181, allocations: 423.1 kB / 3.239 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/8.181, allocations: 15.98 kB / 3.24 GB, free: 209.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005321/8.186, allocations: 391.5 kB / 3.24 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/8.187, allocations: 31.91 kB / 3.24 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/8.187, allocations: 27.97 kB / 3.24 GB, free: 209.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004183/8.191, allocations: 1.707 MB / 3.242 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.31e-07/8.191, allocations: 0 / 3.242 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002815/8.194, allocations: 0.5818 MB / 3.242 GB, free: 207.2 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01982/8.214, allocations: 3.69 MB / 3.246 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.03036/8.244, allocations: 4.523 MB / 3.25 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/8.244, allocations: 7.938 kB / 3.25 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008781/8.253, allocations: 1.143 MB / 3.251 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/8.255, allocations: 320.8 kB / 3.252 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/8.294, allocations: 5.904 MB / 3.257 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/8.295, allocations: 1.407 MB / 3.259 GB, free: 190 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002923/8.298, allocations: 394.7 kB / 3.259 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/8.299, allocations: 435.2 kB / 3.26 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/8.299, allocations: 0 / 3.26 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/8.416, allocations: 50.04 MB / 3.308 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/8.416, allocations: 258.9 kB / 3.309 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.514/12.93, allocations: 0 / 3.309 GB, free: 139.1 MB / 0.8855 GB