Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009706/0.009706, allocations: 103.8 kB / 15.73 MB, free: 6.055 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.001676/0.001676, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.664/1.664, allocations: 251.7 MB / 0.5094 GB, free: 3.051 MB / 414.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: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 72.36 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3032, allocations: 104.7 MB / 0.8281 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003341/0.3066, allocations: 2.135 MB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3084, allocations: 1.057 MB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.3085, allocations: 4 kB / 0.8312 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.3086, allocations: 23.67 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3089, allocations: 83.22 kB / 0.8313 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.3094, allocations: 195.5 kB / 0.8315 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.3097, allocations: 290.8 kB / 0.8318 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3099, allocations: 64.7 kB / 0.8318 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.31, allocations: 103.6 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3103, allocations: 151.3 kB / 0.8321 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.3103, allocations: 20 kB / 0.8321 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.3107, allocations: 295.7 kB / 0.8324 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.668e-05/0.3108, allocations: 47.77 kB / 0.8324 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3109, allocations: 111.3 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.3113, allocations: 342.8 kB / 0.8328 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3113, allocations: 0 / 0.8328 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3113, allocations: 0 / 0.8328 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3113, allocations: 0 / 0.8328 GB, free: 11.28 MB / 0.6544 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.001115/0.3124, allocations: 0.6193 MB / 0.8335 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3125, allocations: 12.03 kB / 0.8335 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3127, allocations: 48.53 kB / 0.8335 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.3131, allocations: 279.5 kB / 0.8338 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.3132, allocations: 12.66 kB / 0.8338 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3132, allocations: 12.38 kB / 0.8338 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.3138, allocations: 240.6 kB / 0.834 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3138, allocations: 0 / 0.834 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3138, allocations: 8 kB / 0.834 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3138, allocations: 4 kB / 0.834 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.3145, allocations: 195.8 kB / 0.8342 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3157, allocations: 0.9461 MB / 0.8352 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007724/0.3164, allocations: 237.2 kB / 0.8354 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.3168, allocations: 105.9 kB / 0.8355 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3168, allocations: 7.922 kB / 0.8355 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3169, allocations: 38.56 kB / 0.8355 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3169, allocations: 0 / 0.8355 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001234/0.3181, allocations: 345.5 kB / 0.8359 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3182, allocations: 77.11 kB / 0.8359 GB, free: 7.891 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.3184, allocations: 263 kB / 0.8362 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3185, allocations: 29.7 kB / 0.8362 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3186, allocations: 164.1 kB / 0.8364 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.3186, allocations: 55.2 kB / 0.8364 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/0.3187, allocations: 37.7 kB / 0.8365 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3188, allocations: 338.8 kB / 0.8368 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.3192, allocations: 95.84 kB / 0.8369 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.3195, allocations: 141 kB / 0.837 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.3202, allocations: 241.8 kB / 0.8372 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3202, allocations: 0 / 0.8372 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008396/0.3211, allocations: 300.9 kB / 0.8375 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3211, allocations: 4 kB / 0.8375 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3211, allocations: 4 kB / 0.8375 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3212, allocations: 0 / 0.8375 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.3215, allocations: 68.03 kB / 0.8376 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3215, allocations: 4 kB / 0.8376 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3217, allocations: 35.81 kB / 0.8376 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3218, allocations: 8 kB / 0.8376 GB, free: 6.062 MB / 0.6544 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 0.0001362/0.3219, allocations: 129.8 kB / 0.8378 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.322, allocations: 31.66 kB / 0.8378 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008466/0.3229, allocations: 291.2 kB / 0.8381 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3229, allocations: 4 kB / 0.8381 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3229, allocations: 4.094 kB / 0.8381 GB, free: 5.594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3229, allocations: 7.922 kB / 0.8381 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.3233, allocations: 293.4 kB / 0.8384 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3233, allocations: 3.938 kB / 0.8384 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.3236, allocations: 55.89 kB / 0.8384 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.3236, allocations: 0 / 0.8384 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3237, allocations: 11.94 kB / 0.8384 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3237, allocations: 0 / 0.8384 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3237, allocations: 0 / 0.8384 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.3245, allocations: 446.2 kB / 0.8389 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.3246, allocations: 108.7 kB / 0.839 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.3247, allocations: 4 kB / 0.839 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.3249, allocations: 31.94 kB / 0.839 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.325, allocations: 15.98 kB / 0.839 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.325, allocations: 4 kB / 0.839 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001713/0.3252, allocations: 190 kB / 0.8392 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3252, allocations: 4 kB / 0.8392 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003682/0.3256, allocations: 55.89 kB / 0.8393 GB, free: 4.305 MB / 0.6544 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.000219/0.3258, allocations: 119.5 kB / 0.8394 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008561/0.3267, allocations: 227.9 kB / 0.8396 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3267, allocations: 0 / 0.8396 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.3271, allocations: 119.8 kB / 0.8397 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.3277, allocations: 77.56 kB / 0.8398 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008378/0.3285, allocations: 449.6 kB / 0.8402 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3289, allocations: 0.748 MB / 0.8409 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.329, allocations: 30.28 kB / 0.841 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.356e-05/0.3291, allocations: 27.44 kB / 0.841 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.3291, allocations: 3.938 kB / 0.841 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of Templates: time 0.00823/0.3373, allocations: 3.969 MB / 0.8449 GB, free: 14.55 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)