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.001212/0.001212, allocations: 102.9 kB / 16.27 MB, free: 6.359 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.001341/0.001341, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.569/1.569, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.832/1.832, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.002265/0.002265, allocations: 71.34 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2387, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001951/0.2407, allocations: 0.5931 MB / 0.7846 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 4.355e-05/0.2408, allocations: 3.938 kB / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.2408, allocations: 0 / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.2409, allocations: 0 / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.2409, allocations: 0 / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 3.669e-05/0.2409, allocations: 0 / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.764e-05/0.241, allocations: 3.984 kB / 0.7846 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.241, allocations: 7.984 kB / 0.7846 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.435e-05/0.2411, allocations: 0 / 0.7846 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 1.71e-05/0.2411, allocations: 4 kB / 0.7846 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2411, allocations: 0 / 0.7846 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.587e-06/0.2411, allocations: 0 / 0.7846 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2411, allocations: 4 kB / 0.7846 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.2412, allocations: 3.938 kB / 0.7846 GB, free: 3.262 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 4.998e-05/0.2412, allocations: 4 kB / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2412, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2412, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2412, allocations: 0 / 0.7846 GB, free: 3.258 MB / 0.6544 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.0002729/0.2415, allocations: 311.6 kB / 0.7849 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2416, allocations: 16.02 kB / 0.7849 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2416, allocations: 4.875 kB / 0.7849 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.741e-05/0.2417, allocations: 160.4 kB / 0.7851 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.2417, allocations: 384 / 0.7851 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.2417, allocations: 384 / 0.7851 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.2418, allocations: 38.2 kB / 0.7851 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.2418, allocations: 192 / 0.7851 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2419, allocations: 3.938 kB / 0.7851 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2419, allocations: 0 / 0.7851 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.683e-05/0.2419, allocations: 0 / 0.7851 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.242, allocations: 153.7 kB / 0.7853 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.313e-05/0.2421, allocations: 14.58 kB / 0.7853 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.2421, allocations: 12.95 kB / 0.7853 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.2421, allocations: 0 / 0.7853 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.2421, allocations: 34.5 kB / 0.7853 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2422, allocations: 0 / 0.7853 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.2423, allocations: 37.64 kB / 0.7854 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.2423, allocations: 51.41 kB / 0.7854 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.2424, allocations: 93.86 kB / 0.7855 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2424, allocations: 25.7 kB / 0.7855 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.393e-05/0.2424, allocations: 80.14 kB / 0.7856 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.2424, allocations: 7.984 kB / 0.7856 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.2425, allocations: 9.719 kB / 0.7856 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2426, allocations: 310.8 kB / 0.7859 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-06/0.2426, allocations: 8.125 kB / 0.7859 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.2426, allocations: 3.938 kB / 0.7859 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.2426, allocations: 12.8 kB / 0.786 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2426, allocations: 0 / 0.786 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.042e-05/0.2427, allocations: 33.7 kB / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2427, allocations: 4 kB / 0.786 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2427, allocations: 0 / 0.786 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.2428, allocations: 7.938 kB / 0.786 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.2428, allocations: 8.078 kB / 0.786 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2428, allocations: 0 / 0.786 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.2428, allocations: 7.906 kB / 0.786 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.2428, allocations: 0 / 0.786 GB, free: 1.609 MB / 0.6544 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.767e-05/0.2429, allocations: 110.1 kB / 0.7861 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.2429, allocations: 0 / 0.7861 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.243, allocations: 7.062 kB / 0.7861 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.243, allocations: 3.938 kB / 0.7861 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.243, allocations: 0 / 0.7861 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.243, allocations: 4 kB / 0.7861 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.7e-05/0.2431, allocations: 145.7 kB / 0.7863 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2431, allocations: 7.938 kB / 0.7863 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.2431, allocations: 0 / 0.7863 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2431, allocations: 0 / 0.7863 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2431, allocations: 7.938 kB / 0.7863 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2431, allocations: 0 / 0.7863 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2431, allocations: 0 / 0.7863 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.032e-05/0.2432, allocations: 65.11 kB / 0.7864 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.2432, allocations: 81.05 kB / 0.7864 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.2432, allocations: 3.938 kB / 0.7864 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.2432, allocations: 0 / 0.7864 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-06/0.2433, allocations: 0 / 0.7864 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.2433, allocations: 8 kB / 0.7864 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.2433, allocations: 75.28 kB / 0.7865 GB, free: 1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.465e-06/0.2433, allocations: 0 / 0.7865 GB, free: 1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000202/0.2435, allocations: 3.938 kB / 0.7865 GB, free: 0.9961 MB / 0.6544 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.698e-05/0.2436, allocations: 99.28 kB / 0.7866 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.2437, allocations: 0 / 0.7866 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2437, allocations: 0 / 0.7866 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.797e-06/0.2437, allocations: 7.984 kB / 0.7866 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.2438, allocations: 6.125 kB / 0.7866 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001952/0.244, allocations: 102.8 kB / 0.7867 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2443, allocations: 0.669 MB / 0.7874 GB, free: 52 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.2443, allocations: 11.56 kB / 0.7874 GB, free: 40 kB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.2443, allocations: 0 / 0.7874 GB, free: 40 kB / 0.6544 GB Notification: Performance of Templates: time 0.3114/0.5557, allocations: 320.4 kB / 0.7877 GB, free: 48.19 MB / 0.6544 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)