Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.334/1.334, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.765/1.765, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001365/0.001365, allocations: 68.56 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2092, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001923/0.2112, allocations: 0.5969 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.987e-05/0.2112, allocations: 7.938 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.2112, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.2113, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-06/0.2113, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-05/0.2113, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.709e-05/0.2114, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.2114, allocations: 4 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.2114, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.2115, allocations: 11.97 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.2115, allocations: 0 / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.2115, allocations: 4 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.2115, allocations: 0 / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.2115, allocations: 0 / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.7e-05/0.2116, allocations: 0 / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2116, allocations: 0 / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2116, allocations: 7.938 kB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2116, allocations: 0 / 0.7847 GB, free: 12.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002304/0.2118, allocations: 303.6 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2119, allocations: 12.06 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.101e-05/0.2119, allocations: 0.9375 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.139e-05/0.212, allocations: 168.4 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.212, allocations: 384 / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.212, allocations: 8.25 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.423e-05/0.2121, allocations: 34.27 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.2121, allocations: 192 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.2121, allocations: 7.922 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2121, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.384e-05/0.2122, allocations: 0 / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.2123, allocations: 141.7 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.634e-05/0.2123, allocations: 30.59 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.2124, allocations: 16.86 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.2124, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2124, allocations: 30.56 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.2124, allocations: 0 / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001004/0.2125, allocations: 33.64 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.2125, allocations: 55.53 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.934e-05/0.2126, allocations: 89.86 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2126, allocations: 25.7 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.2126, allocations: 84.14 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.2127, allocations: 7.906 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.2127, allocations: 13.7 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.2128, allocations: 310.8 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.2128, allocations: 7.938 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.2128, allocations: 4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.2128, allocations: 4.859 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2128, allocations: 4 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.882e-05/0.2129, allocations: 37.7 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2129, allocations: 4.938 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2129, allocations: 0 / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2129, allocations: 3.938 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.213, allocations: 4 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.213, allocations: 8.016 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-06/0.213, allocations: 4 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.213, allocations: 0 / 0.7861 GB, free: 10.46 MB / 0.6075 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 6.401e-05/0.2131, allocations: 109.8 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-06/0.2131, allocations: 4 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.2131, allocations: 7.062 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2131, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2132, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2132, allocations: 0 / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.2133, allocations: 149.7 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2133, allocations: 4 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.2133, allocations: 4 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2133, allocations: 0 / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2133, allocations: 7.875 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2133, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2133, allocations: 0 / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.545e-05/0.2134, allocations: 53.14 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.2134, allocations: 89.06 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.2134, allocations: 3.938 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-06/0.2134, allocations: 4 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2135, allocations: 0 / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-06/0.2135, allocations: 3.938 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.2135, allocations: 79.28 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2135, allocations: 0 / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001968/0.2137, allocations: 0 / 0.7866 GB, free: 9.855 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 (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 8.789e-05/0.2138, allocations: 91.25 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.2139, allocations: 8 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2139, allocations: 0 / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.2139, allocations: 4 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.214, allocations: 0 / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001682/0.2142, allocations: 84.92 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2144, allocations: 0.669 MB / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.027e-05/0.2144, allocations: 0 / 0.7875 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.2144, allocations: 7.438 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2145, allocations: 8.062 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.001664/0.2161, allocations: 165 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)