Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001376/0.001376, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.872/1.872, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.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.0005822/0.0005822, allocations: 15.41 kB / 0.6737 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2931, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.03722/0.3304, allocations: 35.26 MB / 0.8217 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01246/0.3429, allocations: 7.677 MB / 0.8292 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.3446, allocations: 31.81 kB / 0.8292 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.3464, allocations: 0.5053 MB / 0.8297 GB, free: 276 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.3506, allocations: 1.157 MB / 0.8308 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.3546, allocations: 1.176 MB / 0.832 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003214/0.3578, allocations: 1.502 MB / 0.8334 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.359, allocations: 0.6417 MB / 0.8341 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.3606, allocations: 0.7278 MB / 0.8348 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007204/0.3613, allocations: 489.7 kB / 0.8352 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.3614, allocations: 36 kB / 0.8353 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.3634, allocations: 0.7332 MB / 0.836 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.3637, allocations: 223.1 kB / 0.8362 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.364, allocations: 257.1 kB / 0.8364 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.3659, allocations: 1.66 MB / 0.8381 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3659, allocations: 0 / 0.8381 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.297e-06/0.3659, allocations: 0 / 0.8381 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.3659, allocations: 4 kB / 0.8381 GB, free: 7.672 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002661/0.3686, allocations: 1.497 MB / 0.8395 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3687, allocations: 16.03 kB / 0.8395 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.3688, allocations: 106.5 kB / 0.8396 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.3691, allocations: 130.5 kB / 0.8398 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.371, allocations: 1.132 MB / 0.8409 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.371, allocations: 49.31 kB / 0.8409 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.3712, allocations: 68 kB / 0.841 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3725, allocations: 0.798 MB / 0.8418 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3726, allocations: 0 / 0.8418 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.3726, allocations: 28 kB / 0.8418 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.3727, allocations: 19.94 kB / 0.8418 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3738, allocations: 0.618 MB / 0.8424 GB, free: 3.043 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004166/0.3779, allocations: 3.131 MB / 0.8455 GB, free: 15.74 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008237/0.3788, allocations: 466.8 kB / 0.8459 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008818/0.3797, allocations: 0.7753 MB / 0.8467 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.3797, allocations: 38.56 kB / 0.8467 GB, free: 14.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/0.3797, allocations: 0 / 0.8467 GB, free: 14.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=38): time 0.001876/0.3816, allocations: 1.243 MB / 0.8479 GB, free: 12.96 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.3817, allocations: 144.4 kB / 0.8481 GB, free: 12.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.3831, allocations: 0.9967 MB / 0.849 GB, free: 11.78 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.3831, allocations: 37.7 kB / 0.8491 GB, free: 11.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.3836, allocations: 476.3 kB / 0.8495 GB, free: 11.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3837, allocations: 122.2 kB / 0.8496 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.3837, allocations: 12 kB / 0.8497 GB, free: 11.13 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3839, allocations: 326 kB / 0.85 GB, free: 10.81 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.3844, allocations: 332.8 kB / 0.8503 GB, free: 10.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.385, allocations: 443.6 kB / 0.8507 GB, free: 10.02 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.3856, allocations: 0.5196 MB / 0.8512 GB, free: 9.461 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3856, allocations: 0 / 0.8512 GB, free: 9.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00145/0.387, allocations: 1.076 MB / 0.8523 GB, free: 8.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005127/0.3876, allocations: 0.9666 MB / 0.8532 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.3876, allocations: 0 / 0.8532 GB, free: 7.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3876, allocations: 11.92 kB / 0.8532 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.388, allocations: 91.89 kB / 0.8533 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.388, allocations: 7.984 kB / 0.8533 GB, free: 7.168 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.3887, allocations: 119.1 kB / 0.8534 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.3888, allocations: 24.06 kB / 0.8535 GB, free: 7.027 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.3888, allocations: 4 kB / 0.8535 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001468/0.3903, allocations: 1.078 MB / 0.8545 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3903, allocations: 0 / 0.8545 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.3903, allocations: 8.203 kB / 0.8545 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3907, allocations: 99.89 kB / 0.8546 GB, free: 5.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3907, allocations: 4 kB / 0.8546 GB, free: 5.797 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.3914, allocations: 99.38 kB / 0.8547 GB, free: 5.699 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3914, allocations: 35.92 kB / 0.8547 GB, free: 5.664 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 6 * 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 prepare postOptimizeDAE: time 0.0006481/0.3921, allocations: 470 kB / 0.8552 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.3922, allocations: 102.8 kB / 0.8553 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.3937, allocations: 0.9246 MB / 0.8562 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.3937, allocations: 7.984 kB / 0.8562 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3937, allocations: 0 / 0.8562 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/0.395, allocations: 0.9764 MB / 0.8572 GB, free: 3.055 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.3982, allocations: 2.091 MB / 0.8592 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.3982, allocations: 4 kB / 0.8592 GB, free: 0.8398 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3985, allocations: 72.17 kB / 0.8593 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.3985, allocations: 4 kB / 0.8593 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.3985, allocations: 19.94 kB / 0.8593 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3986, allocations: 7.938 kB / 0.8593 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.3986, allocations: 4 kB / 0.8593 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.4006, allocations: 1.524 MB / 0.8608 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00048/0.4011, allocations: 291.5 kB / 0.8611 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.4012, allocations: 19.95 kB / 0.8611 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.4017, allocations: 54.83 kB / 0.8611 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4019, allocations: 43.95 kB / 0.8612 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.4019, allocations: 23.98 kB / 0.8612 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001005/0.4029, allocations: 0.7218 MB / 0.8619 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.403, allocations: 3.938 kB / 0.8619 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001473/0.4044, allocations: 0.5148 MB / 0.8624 GB, free: 13.41 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 4 * 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.003596/0.408, allocations: 2.963 MB / 0.8653 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.4106, allocations: 1.904 MB / 0.8672 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.4106, allocations: 4 kB / 0.8672 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.4113, allocations: 0.5448 MB / 0.8677 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.4136, allocations: 0.5105 MB / 0.8682 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.4184, allocations: 4.117 MB / 0.8722 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.4191, allocations: 1.087 MB / 0.8733 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008144/0.4199, allocations: 214.8 kB / 0.8735 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.4204, allocations: 383.2 kB / 0.8739 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/0.4204, allocations: 0 / 0.8739 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/0.4835, allocations: 31.58 MB / 0.9047 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.4838, allocations: 241.1 kB / 0.9049 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/3.458, allocations: 3.125 kB / 0.9049 GB, free: 1.969 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) Environment - environmentSimulation: