Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.001391/0.001391, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001655/0.001655, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.365/1.365, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.664/1.664, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001648/0.001649, allocations: 68.88 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.24, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003725/0.2437, allocations: 2.22 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2457, allocations: 1.022 MB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.246, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.435e-05/0.2461, allocations: 19.78 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2467, allocations: 79.41 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.2472, allocations: 163.8 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.2476, allocations: 298.8 kB / 0.7867 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.2478, allocations: 60.92 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2479, allocations: 107.5 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.2482, allocations: 147.3 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.2482, allocations: 20 kB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.2486, allocations: 295.6 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.2486, allocations: 39.84 kB / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.2488, allocations: 127.2 kB / 0.7874 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.2491, allocations: 322.9 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2491, allocations: 0 / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2491, allocations: 0 / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.2492, allocations: 3.938 kB / 0.7877 GB, free: 8.871 MB / 0.6075 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.001017/0.2502, allocations: 0.6232 MB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2502, allocations: 12.03 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.214e-05/0.2503, allocations: 50.73 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.2505, allocations: 36.56 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.2509, allocations: 275.5 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2509, allocations: 12.66 kB / 0.7887 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.2509, allocations: 15.94 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.2514, allocations: 228.3 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2515, allocations: 4 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.2515, allocations: 7.984 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2515, allocations: 4 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.2521, allocations: 203.8 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2532, allocations: 0.9461 MB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.2539, allocations: 233.2 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.2543, allocations: 105.6 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.2543, allocations: 7.938 kB / 0.7904 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.2543, allocations: 42.5 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.2543, allocations: 0 / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001083/0.2554, allocations: 333.5 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.2555, allocations: 81.05 kB / 0.7909 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.2557, allocations: 270.9 kB / 0.7911 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.2558, allocations: 29.7 kB / 0.7911 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.2559, allocations: 160.2 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.2559, allocations: 55.17 kB / 0.7913 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.543e-05/0.256, allocations: 41.72 kB / 0.7914 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2561, allocations: 338.8 kB / 0.7917 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.2564, allocations: 91.92 kB / 0.7918 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.2567, allocations: 145.6 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006049/0.2574, allocations: 245.7 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2574, allocations: 4 kB / 0.7922 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007642/0.2581, allocations: 289 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2582, allocations: 8 kB / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2582, allocations: 0 / 0.7925 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2582, allocations: 8.156 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.2585, allocations: 59.95 kB / 0.7925 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2585, allocations: 3.938 kB / 0.7925 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2588, allocations: 47.7 kB / 0.7926 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2588, allocations: 4 kB / 0.7926 GB, free: 3.598 MB / 0.6075 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.0001133/0.2589, allocations: 129.8 kB / 0.7927 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.259, allocations: 39.7 kB / 0.7927 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007783/0.2598, allocations: 291.1 kB / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2598, allocations: 0 / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2598, allocations: 0 / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2599, allocations: 4 kB / 0.793 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.2602, allocations: 301.3 kB / 0.7933 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2602, allocations: 0 / 0.7933 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.2605, allocations: 51.89 kB / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2605, allocations: 4 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2605, allocations: 4 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2605, allocations: 8 kB / 0.7934 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.2605, allocations: 0 / 0.7934 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007847/0.2613, allocations: 452.9 kB / 0.7938 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.2614, allocations: 100.8 kB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.2614, allocations: 8 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.2617, allocations: 27.91 kB / 0.7939 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.2618, allocations: 19.97 kB / 0.794 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2618, allocations: 4 kB / 0.794 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001638/0.262, allocations: 194 kB / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.262, allocations: 0 / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003707/0.2624, allocations: 52 kB / 0.7942 GB, free: 1.84 MB / 0.6075 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.001165/0.2635, allocations: 0.9953 MB / 0.7952 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007351/0.2643, allocations: 235.6 kB / 0.7954 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2643, allocations: 0 / 0.7954 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.2646, allocations: 115.8 kB / 0.7955 GB, free: 488 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.2653, allocations: 77.88 kB / 0.7956 GB, free: 412 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.2692, allocations: 2.781 MB / 0.7983 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.2695, allocations: 0.7558 MB / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.2697, allocations: 34.27 kB / 0.7991 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.2698, allocations: 87.34 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.2698, allocations: 4 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8076/1.077, allocations: 6.166 MB / 0.8052 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/1.078, allocations: 221.7 kB / 0.8054 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.992, allocations: 0.5 kB / 0.8054 GB, free: 6.375 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)