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.297/2.297, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.001993/0.001993, allocations: 183.7 kB / 315.4 MB, free: 3.98 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.099/2.099, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 78.53 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.918e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2034, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.059/7.262, allocations: 2.185 GB / 3.07 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/7.263, allocations: 98.44 kB / 3.07 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3166/7.579, allocations: 92.12 MB / 3.16 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.895e-06/7.579, allocations: 0 / 3.16 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.684e-05/7.579, allocations: 19.94 kB / 3.16 GB, free: 82 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.003322/7.583, allocations: 1.396 MB / 3.161 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/7.583, allocations: 8.031 kB / 3.161 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/7.608, allocations: 2.089 MB / 3.163 GB, free: 78.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/7.612, allocations: 1.293 MB / 3.164 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/7.612, allocations: 4 kB / 3.164 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/7.612, allocations: 16 kB / 3.164 GB, free: 77.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001402/7.614, allocations: 0.5859 MB / 3.165 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/7.615, allocations: 479.7 kB / 3.165 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/7.615, allocations: 3.938 kB / 3.165 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/7.615, allocations: 0 / 3.165 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/7.615, allocations: 7.984 kB / 3.165 GB, free: 76.01 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/7.632, allocations: 3.602 MB / 3.169 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/7.636, allocations: 0.7368 MB / 3.17 GB, free: 71.51 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/7.637, allocations: 313 kB / 3.17 GB, free: 71.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/7.638, allocations: 105 kB / 3.17 GB, free: 71.08 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/7.639, allocations: 446.4 kB / 3.17 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 4.638e-06/7.639, allocations: 0 / 3.17 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.009818/7.649, allocations: 1.175 MB / 3.172 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/7.649, allocations: 118.7 kB / 3.172 GB, free: 69.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/7.653, allocations: 2.092 MB / 3.174 GB, free: 67.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/7.653, allocations: 25.7 kB / 3.174 GB, free: 67.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/7.654, allocations: 0.5467 MB / 3.174 GB, free: 66.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/7.654, allocations: 67 kB / 3.174 GB, free: 66.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.89e-05/7.654, allocations: 4 kB / 3.174 GB, free: 66.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/7.654, allocations: 322 kB / 3.175 GB, free: 66.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/7.655, allocations: 444.2 kB / 3.175 GB, free: 65.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/7.657, allocations: 480.1 kB / 3.176 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04528/7.702, allocations: 9.719 MB / 3.185 GB, free: 55.59 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/7.702, allocations: 0 / 3.185 GB, free: 55.59 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.04915/7.751, allocations: 10.73 MB / 3.196 GB, free: 44.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/7.751, allocations: 130.4 kB / 3.196 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/7.751, allocations: 0 / 3.196 GB, free: 44.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004616/7.756, allocations: 0.7133 MB / 3.196 GB, free: 43.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00577/7.762, allocations: 499.3 kB / 3.197 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/7.765, allocations: 2.724 MB / 3.2 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/7.771, allocations: 451.1 kB / 3.2 GB, free: 40.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/7.771, allocations: 39.97 kB / 3.2 GB, free: 40.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/7.771, allocations: 4 kB / 3.2 GB, free: 40.15 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04782/7.819, allocations: 10.46 MB / 3.21 GB, free: 29.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/7.819, allocations: 0 / 3.21 GB, free: 29.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/7.822, allocations: 0.6236 MB / 3.211 GB, free: 29.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/7.828, allocations: 0.4915 MB / 3.211 GB, free: 28.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006048/7.834, allocations: 5.938 MB / 3.217 GB, free: 22.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005759/7.84, allocations: 451.2 kB / 3.218 GB, free: 21.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001791/7.84, allocations: 35.91 kB / 3.218 GB, free: 21.66 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.0003296/7.841, allocations: 150.6 kB / 3.218 GB, free: 21.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005608/7.846, allocations: 1.101 MB / 3.219 GB, free: 20.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/7.847, allocations: 138.5 kB / 3.219 GB, free: 20.25 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/7.851, allocations: 0.9728 MB / 3.22 GB, free: 19.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/7.851, allocations: 0 / 3.22 GB, free: 19.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/7.851, allocations: 4 kB / 3.22 GB, free: 19.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/7.851, allocations: 3.984 kB / 3.22 GB, free: 19.26 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/7.853, allocations: 1.21 MB / 3.221 GB, free: 17.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/7.853, allocations: 0 / 3.221 GB, free: 17.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00487/7.858, allocations: 443.5 kB / 3.221 GB, free: 17.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/7.858, allocations: 4 kB / 3.221 GB, free: 17.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/7.858, allocations: 19.97 kB / 3.222 GB, free: 17.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/7.858, allocations: 0 / 3.222 GB, free: 17.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/7.858, allocations: 0 / 3.222 GB, free: 17.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/7.861, allocations: 0.8968 MB / 3.222 GB, free: 16.61 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/7.862, allocations: 415.2 kB / 3.223 GB, free: 16.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/7.863, allocations: 11.98 kB / 3.223 GB, free: 16.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005207/7.868, allocations: 391.5 kB / 3.223 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/7.868, allocations: 27.89 kB / 3.223 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/7.868, allocations: 35.91 kB / 3.223 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003314/7.872, allocations: 1.589 MB / 3.225 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/7.872, allocations: 0 / 3.225 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002574/7.874, allocations: 0.5582 MB / 3.225 GB, free: 13.58 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.005726/7.88, allocations: 2.412 MB / 3.228 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005944/7.886, allocations: 2.323 MB / 3.23 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/7.886, allocations: 0 / 3.23 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000907/7.887, allocations: 415.8 kB / 3.23 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/7.889, allocations: 312.8 kB / 3.231 GB, free: 8.035 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/7.918, allocations: 3.99 MB / 3.235 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/7.919, allocations: 1.414 MB / 3.236 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005278/7.924, allocations: 1.013 MB / 3.237 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/7.925, allocations: 419.2 kB / 3.237 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/7.925, allocations: 0 / 3.237 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7644/8.69, allocations: 42.46 MB / 3.279 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/8.69, allocations: 175.7 kB / 3.279 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/13.16, allocations: 2.25 kB / 3.279 GB, free: 266.1 MB / 0.8698 GB