Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime",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.468/1.468, allocations: 252 MB / 267.3 MB, free: 10.87 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.00102/0.00102, allocations: 172.2 kB / 327 MB, free: 2.121 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.647/1.647, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007641/0.0007641, allocations: 86.36 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003249, allocations: 9.188 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0009382/0.1913, allocations: 344.3 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 4.876e-05/0.1914, allocations: 4 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1915, allocations: 0 / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.1915, allocations: 3.938 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.204e-06/0.1915, allocations: 0 / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.263e-05/0.1915, allocations: 4 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.1916, allocations: 3.938 kB / 0.9012 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.1917, allocations: 3.984 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.1917, allocations: 3.984 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.619e-05/0.1917, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1918, allocations: 0 / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-06/0.1918, allocations: 4 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1918, allocations: 4 kB / 0.9013 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.1918, allocations: 25.7 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.327e-05/0.1919, allocations: 0 / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1919, allocations: 0 / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1919, allocations: 0 / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.192, allocations: 0 / 0.9013 GB, free: 63.03 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002568/0.1922, allocations: 307.6 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.1923, allocations: 16.08 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.1923, allocations: 34.73 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.1924, allocations: 4.938 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.289e-05/0.1924, allocations: 160.4 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1925, allocations: 384 / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1925, allocations: 384 / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1926, allocations: 34.2 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1926, allocations: 3.938 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1926, allocations: 0 / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1927, allocations: 3.938 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.1927, allocations: 0 / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.1928, allocations: 161.7 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.684e-05/0.1928, allocations: 14.58 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.1929, allocations: 8.953 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1929, allocations: 0 / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1929, allocations: 34.5 kB / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1929, allocations: 0 / 0.902 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.1931, allocations: 41.64 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.1931, allocations: 51.41 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.959e-05/0.1931, allocations: 97.84 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.1931, allocations: 29.64 kB / 0.9022 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.1932, allocations: 80.14 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1932, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.1932, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.1933, allocations: 310.8 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.1933, allocations: 0 / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.1933, allocations: 8.125 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/0.1933, allocations: 12.8 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1933, allocations: 0 / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.575e-05/0.1934, allocations: 33.7 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1934, allocations: 4 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1934, allocations: 3.938 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1935, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.1935, allocations: 7.984 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1935, allocations: 96 / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.1936, allocations: 4 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.1936, allocations: 0 / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 5.344e-05/0.1936, allocations: 105.8 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.1936, allocations: 0 / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.1937, allocations: 15.06 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1937, allocations: 0 / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1937, allocations: 0 / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1937, allocations: 0 / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.139e-05/0.1937, allocations: 145.7 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1938, allocations: 4 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.1938, allocations: 11.88 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1938, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1938, allocations: 3.938 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1938, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1938, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.84e-05/0.1939, allocations: 57.12 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.1939, allocations: 81.11 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.1939, allocations: 7.969 kB / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-06/0.1939, allocations: 0 / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1939, allocations: 0 / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.194, allocations: 0 / 0.9031 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.761e-05/0.194, allocations: 75.28 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.194, allocations: 0 / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001888/0.1942, allocations: 4 kB / 0.9032 GB, free: 60.77 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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.0002526/0.1944, allocations: 0.6007 MB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.982e-05/0.1945, allocations: 3.938 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1945, allocations: 4 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.1945, allocations: 0 / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1947, allocations: 1.688 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.195, allocations: 120.4 kB / 0.9039 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.1951, allocations: 0.6692 MB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.1951, allocations: 0 / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.1952, allocations: 7.438 kB / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of SimCode: time 9.31e-07/0.1952, allocations: 0 / 0.9045 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009226/0.2044, allocations: 0.7044 MB / 0.9052 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.2046, allocations: 202.7 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.688, allocations: 6.469 kB / 0.9054 GB, free: 58.42 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)