Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.224/2.224, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 191.4 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.00111, allocations: 111.7 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 53.95 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2919, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002807/0.2947, allocations: 2.201 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.2961, allocations: 1.064 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.2962, allocations: 7.938 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.537e-05/0.2963, allocations: 11.86 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.2966, allocations: 75.41 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.2969, allocations: 151.2 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.2971, allocations: 282.8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2972, allocations: 60.56 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.935e-05/0.2973, allocations: 107.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.2975, allocations: 131.4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.2976, allocations: 12 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.2979, allocations: 295.6 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.2979, allocations: 35.84 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.298, allocations: 119.2 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.2983, allocations: 321 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2983, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2983, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2983, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 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.000915/0.2992, allocations: 0.6194 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.2993, allocations: 19.98 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.2995, allocations: 36.55 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.2997, allocations: 279.5 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2998, allocations: 8.656 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.2998, allocations: 20.12 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.3002, allocations: 232.6 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3003, allocations: 3.938 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3003, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3003, allocations: 4 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.3009, allocations: 199.8 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008655/0.3018, allocations: 0.9383 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.3024, allocations: 249.1 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3027, allocations: 101.6 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3027, allocations: 0 / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.3028, allocations: 34.88 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.3028, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.001022/0.3038, allocations: 341.1 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.3038, allocations: 81.11 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.304, allocations: 266.9 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.304, allocations: 25.7 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.3041, allocations: 164.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.3042, allocations: 55.2 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.3042, allocations: 37.7 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.3043, allocations: 342.8 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3046, allocations: 91.84 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.3049, allocations: 144.3 kB / 1.227 GB, free: 107.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/0.3055, allocations: 237.8 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3055, allocations: 3.938 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007118/0.3062, allocations: 297 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3062, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3062, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3062, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3065, allocations: 68.03 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3065, allocations: 4 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3067, allocations: 39.72 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3067, allocations: 16 kB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 7.847e-05/0.3068, allocations: 134.4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.3069, allocations: 27.7 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.3077, allocations: 292 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3077, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3077, allocations: 96 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3077, allocations: 11.86 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.308, allocations: 293.3 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.308, allocations: 0 / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.3082, allocations: 55.89 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3082, allocations: 0 / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.3082, allocations: 8 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3083, allocations: 0 / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3083, allocations: 4 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.3094, allocations: 1.13 MB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3094, allocations: 104.7 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.3095, allocations: 4 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.3097, allocations: 27.97 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.3098, allocations: 23.91 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3098, allocations: 4 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000117/0.3099, allocations: 190 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3099, allocations: 4 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004066/0.3103, allocations: 52.25 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001747/0.3105, allocations: 123.1 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006466/0.3112, allocations: 228.7 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3112, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.3115, allocations: 124.2 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.3121, allocations: 69.33 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.3128, allocations: 0.67 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3129, allocations: 0.7597 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.313, allocations: 30.28 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.3131, allocations: 27.42 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/0.3131, allocations: 0 / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of Templates: time 0.006421/0.3195, allocations: 3.668 MB / 1.235 GB, free: 98.98 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)