Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009499/0.0009499, allocations: 169.3 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205 MB / 0.576 GB, free: 20.89 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.0006742/0.0006741, allocations: 104.6 kB / 0.6797 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003008, allocations: 11.69 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector): time 0.02582/0.1966, allocations: 41.41 MB / 0.9367 GB, free: 26.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009749/0.2064, allocations: 8.922 MB / 0.9454 GB, free: 17.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.2077, allocations: 35.81 kB / 0.9454 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.2091, allocations: 485.4 kB / 0.9459 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002762/0.2119, allocations: 1.163 MB / 0.947 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.2141, allocations: 1.032 MB / 0.948 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.2167, allocations: 3.34 MB / 0.9513 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.2175, allocations: 0.7301 MB / 0.952 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.2189, allocations: 0.8554 MB / 0.9528 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006503/0.2195, allocations: 0.692 MB / 0.9535 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.2196, allocations: 36 kB / 0.9535 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.2213, allocations: 1.057 MB / 0.9546 GB, free: 8.074 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.2215, allocations: 255 kB / 0.9548 GB, free: 7.824 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003945/0.2219, allocations: 0.5439 MB / 0.9553 GB, free: 7.277 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.2238, allocations: 2.216 MB / 0.9575 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2238, allocations: 0 / 0.9575 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2238, allocations: 0 / 0.9575 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.2238, allocations: 3.938 kB / 0.9575 GB, free: 5.051 MB / 0.6042 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.001714/0.2255, allocations: 1.515 MB / 0.959 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.2256, allocations: 8.031 kB / 0.959 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.119e-05/0.2257, allocations: 102.7 kB / 0.9591 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.2259, allocations: 131.4 kB / 0.9592 GB, free: 3.191 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.2271, allocations: 1.07 MB / 0.9603 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.2271, allocations: 53.3 kB / 0.9603 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.856e-05/0.2272, allocations: 71.94 kB / 0.9604 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2282, allocations: 0.8058 MB / 0.9612 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.2283, allocations: 3.938 kB / 0.9612 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.2283, allocations: 28 kB / 0.9612 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2283, allocations: 19.94 kB / 0.9612 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.2291, allocations: 0.6219 MB / 0.9618 GB, free: 472 kB / 0.6042 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.003307/0.2325, allocations: 3.216 MB / 0.965 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/0.2332, allocations: 462.9 kB / 0.9654 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/0.2336, allocations: 322.1 kB / 0.9657 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.2343, allocations: 0.7714 MB / 0.9665 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2344, allocations: 46.55 kB / 0.9665 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 2.545e-06/0.2344, allocations: 0 / 0.9665 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.001468/0.2358, allocations: 1.013 MB / 0.9675 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.2359, allocations: 140.5 kB / 0.9676 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.2371, allocations: 1.075 MB / 0.9687 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.2371, allocations: 37.7 kB / 0.9687 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.2375, allocations: 468.5 kB / 0.9692 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.2376, allocations: 126.2 kB / 0.9693 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.2376, allocations: 49.69 kB / 0.9693 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.2377, allocations: 337.9 kB / 0.9697 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.2382, allocations: 348.8 kB / 0.97 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.2387, allocations: 454.8 kB / 0.9704 GB, free: 7.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2398, allocations: 0.9796 MB / 0.9714 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2398, allocations: 0 / 0.9714 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001352/0.2411, allocations: 1.115 MB / 0.9725 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.2413, allocations: 319.4 kB / 0.9728 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2413, allocations: 4 kB / 0.9728 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2413, allocations: 4 kB / 0.9728 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/0.2417, allocations: 95.88 kB / 0.9729 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.2417, allocations: 7.938 kB / 0.9729 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.2423, allocations: 119.1 kB / 0.973 GB, free: 4.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.2424, allocations: 24 kB / 0.973 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-06/0.2424, allocations: 4 kB / 0.973 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/0.2437, allocations: 1.109 MB / 0.9741 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2437, allocations: 4 kB / 0.9741 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.2437, allocations: 4 kB / 0.9741 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.244, allocations: 95.81 kB / 0.9742 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.244, allocations: 4 kB / 0.9742 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.2446, allocations: 103.6 kB / 0.9743 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.2447, allocations: 24 kB / 0.9743 GB, free: 2.938 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.airFlo_mod.i,con.mod.watFlo_mod.i,con.mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 6 * 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.0005434/0.2452, allocations: 485.9 kB / 0.9748 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2454, allocations: 98.78 kB / 0.9749 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2466, allocations: 0.9312 MB / 0.9758 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2467, allocations: 4 kB / 0.9758 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2467, allocations: 0 / 0.9758 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009882/0.2477, allocations: 0.9949 MB / 0.9768 GB, free: 312 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.2503, allocations: 2.121 MB / 0.9788 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.2504, allocations: 4 kB / 0.9788 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.2506, allocations: 67.95 kB / 0.9789 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.2506, allocations: 8 kB / 0.9789 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.2507, allocations: 19.94 kB / 0.9789 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.2507, allocations: 4.281 kB / 0.9789 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2507, allocations: 7.938 kB / 0.9789 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.2524, allocations: 1.404 MB / 0.9803 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.2528, allocations: 283.6 kB / 0.9806 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.2529, allocations: 19.88 kB / 0.9806 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.2534, allocations: 55.95 kB / 0.9807 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2535, allocations: 47.94 kB / 0.9807 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.2536, allocations: 20 kB / 0.9807 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009192/0.2545, allocations: 0.7689 MB / 0.9815 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2545, allocations: 0 / 0.9815 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001198/0.2557, allocations: 0.5148 MB / 0.982 GB, free: 10.75 MB / 0.6355 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 (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.002594/0.2583, allocations: 2.253 MB / 0.9842 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.2604, allocations: 1.949 MB / 0.9861 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2604, allocations: 0.875 kB / 0.9861 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.261, allocations: 0.5526 MB / 0.9866 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/0.2634, allocations: 0.5275 MB / 0.9871 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.277, allocations: 9.558 MB / 0.9965 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.2776, allocations: 1.072 MB / 0.9975 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007524/0.2784, allocations: 206.7 kB / 0.9977 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.2788, allocations: 382.8 kB / 0.9981 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/0.2788, allocations: 3.938 kB / 0.9981 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3368/0.6156, allocations: 31.7 MB / 1.029 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.6159, allocations: 277.9 kB / 1.029 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/3.672, allocations: 3.234 kB / 1.029 GB, free: 9.957 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)