Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.771/1.771, allocations: 287.4 MB / 302.5 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.001121, allocations: 182.3 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009308, allocations: 89.28 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 11.3 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.188, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007081/0.1888, allocations: 335.7 kB / 0.979 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.17e-05/0.1888, allocations: 7.938 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1888, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.1889, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.353e-06/0.1889, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.947e-05/0.1889, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.189, allocations: 0 / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.189, allocations: 3.984 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.189, allocations: 8 kB / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.591e-05/0.1891, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1891, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.507e-06/0.1891, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.1891, allocations: 0 / 0.9791 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1891, allocations: 29.7 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.628e-05/0.1892, allocations: 3.984 kB / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1892, allocations: 0 / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1892, allocations: 0 / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1892, allocations: 0 / 0.9791 GB, free: 27.72 MB / 0.6198 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.0001845/0.1894, allocations: 311.6 kB / 0.9794 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1894, allocations: 8.031 kB / 0.9794 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.481e-05/0.1895, allocations: 30.75 kB / 0.9794 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.886e-05/0.1895, allocations: 4.875 kB / 0.9794 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.26e-05/0.1895, allocations: 160.4 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1896, allocations: 4.359 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.1896, allocations: 4.375 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.707e-05/0.1896, allocations: 26.27 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1897, allocations: 3.938 kB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.1897, allocations: 0 / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1897, allocations: 7.938 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.1897, allocations: 8 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.606e-05/0.1898, allocations: 141.7 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.1898, allocations: 18.52 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.1899, allocations: 12.89 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.1899, allocations: 3.984 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.1899, allocations: 46.56 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1899, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.182e-05/0.19, allocations: 37.64 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.19, allocations: 55.34 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.34e-05/0.19, allocations: 89.86 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.1901, allocations: 25.7 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.827e-06/0.1901, allocations: 80.14 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1901, allocations: 4.188 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-06/0.1901, allocations: 128 / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.1901, allocations: 318.8 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-06/0.1902, allocations: 4 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-06/0.1902, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/0.1902, allocations: 12.84 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1902, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.855e-05/0.1902, allocations: 29.7 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1903, allocations: 4 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1903, allocations: 8.031 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1903, allocations: 3.938 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.1903, allocations: 4 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1904, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.1904, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1904, allocations: 0 / 0.9805 GB, free: 26.05 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.1904, allocations: 117.8 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.1904, allocations: 7.984 kB / 0.9806 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.476e-05/0.1905, allocations: 7.062 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1905, allocations: 7.984 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1905, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1905, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.814e-05/0.1905, allocations: 141.7 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1905, allocations: 0 / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.108e-06/0.1906, allocations: 4 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1906, allocations: 0 / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1906, allocations: 3.938 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1906, allocations: 3.984 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1906, allocations: 3.938 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.812e-05/0.1906, allocations: 65.08 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.1907, allocations: 81.05 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.1907, allocations: 3.938 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-06/0.1907, allocations: 0 / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1907, allocations: 3.984 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-06/0.1907, allocations: 0 / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.1907, allocations: 79.28 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1907, allocations: 0 / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001875/0.1909, allocations: 4.031 kB / 0.981 GB, free: 25.43 MB / 0.6198 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 (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.0001804/0.1911, allocations: 0.5812 MB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.061e-05/0.1912, allocations: 11.92 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1912, allocations: 4 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-06/0.1912, allocations: 8.094 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1913, allocations: 0 / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.1916, allocations: 100.4 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.177e-05/0.1917, allocations: 0.6692 MB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.203e-05/0.1917, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.1917, allocations: 7.438 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1917, allocations: 0 / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009002/0.2007, allocations: 0.678 MB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.2009, allocations: 194.8 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.452/1.653, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)