Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001258/0.001258, 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.001242/0.001242, 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.313/1.313, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.618/1.618, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001298/0.001298, allocations: 70.84 kB / 0.6711 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1877, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002727/0.1905, allocations: 1.604 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.1906, allocations: 31.84 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.1907, allocations: 0 / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1908, allocations: 15.92 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.1909, allocations: 3.938 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.44e-05/0.191, allocations: 19.98 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.976e-05/0.1911, allocations: 43.91 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.1912, allocations: 28.27 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.1912, allocations: 23.91 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.1913, allocations: 27.86 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1913, allocations: 4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.1914, allocations: 4 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-05/0.1914, allocations: 23.92 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.1914, allocations: 23.86 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.444e-05/0.1915, allocations: 47.77 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1915, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1916, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.1916, allocations: 3.938 kB / 0.7848 GB, free: 11.91 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003343/0.1919, allocations: 375.2 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1919, allocations: 16.02 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.192, allocations: 42.69 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.192, allocations: 8.844 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.1922, allocations: 188.2 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1922, allocations: 384 / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1922, allocations: 4.375 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1923, allocations: 107.1 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1924, allocations: 3.938 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1924, allocations: 4 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1924, allocations: 4 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.1925, allocations: 39.97 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.193, allocations: 0.6401 MB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.1931, allocations: 170.2 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.1931, allocations: 80.14 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1931, allocations: 75.28 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1932, allocations: 109.8 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1932, allocations: 4 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.04e-05/0.1932, allocations: 41.48 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1933, allocations: 126.7 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.1934, allocations: 173.5 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1935, allocations: 25.7 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.1935, allocations: 99.95 kB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.1935, allocations: 0 / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1936, allocations: 25.7 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.1937, allocations: 314.8 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.1937, allocations: 7.938 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.1937, allocations: 30.55 kB / 0.7874 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.1937, allocations: 22.52 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1938, allocations: 4 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000111/0.1939, allocations: 57.55 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1939, allocations: 11.98 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1939, allocations: 3.938 kB / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.1939, allocations: 0 / 0.7875 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.194, allocations: 4 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.194, allocations: 4 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.262e-05/0.194, allocations: 3.938 kB / 0.7875 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.194, allocations: 4.094 kB / 0.7875 GB, free: 8.855 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 8.018e-05/0.1941, allocations: 193.1 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.1942, allocations: 116.8 kB / 0.7878 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/0.1942, allocations: 112.8 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-05/0.1943, allocations: 188.1 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-05/0.1943, allocations: 180.2 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-05/0.1944, allocations: 184.3 kB / 0.7885 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1946, allocations: 425.2 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/0.1946, allocations: 105.1 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.1947, allocations: 116.9 kB / 0.7891 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.436e-05/0.1947, allocations: 176.3 kB / 0.7893 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.1948, allocations: 184.2 kB / 0.7894 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-05/0.1948, allocations: 184.2 kB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.777e-05/0.1949, allocations: 180.3 kB / 0.7898 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.195, allocations: 307.7 kB / 0.7901 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.1951, allocations: 190 kB / 0.7903 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.1951, allocations: 192.1 kB / 0.7904 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.1952, allocations: 101 kB / 0.7905 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.1953, allocations: 184.2 kB / 0.7907 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.1953, allocations: 105 kB / 0.7908 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.558e-05/0.1954, allocations: 125.5 kB / 0.7909 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1954, allocations: 0 / 0.7909 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002216/0.1956, allocations: 4 kB / 0.7909 GB, free: 5.152 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003262/0.196, allocations: 0.8203 MB / 0.7917 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.629e-05/0.196, allocations: 16 kB / 0.7918 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.196, allocations: 3.938 kB / 0.7918 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.1961, allocations: 4.188 kB / 0.7918 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1964, allocations: 467.6 kB / 0.7922 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.1976, allocations: 1.638 MB / 0.7938 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1978, allocations: 0.6924 MB / 0.7945 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.1979, allocations: 7.781 kB / 0.7945 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1979, allocations: 23.42 kB / 0.7945 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.1979, allocations: 4 kB / 0.7945 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/0.4785, allocations: 1.586 MB / 0.7961 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.4787, allocations: 212.9 kB / 0.7963 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.138, allocations: 4 kB / 0.7963 GB, free: 15.63 MB / 0.6231 GB (rm -f Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_8_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)