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.001027/0.001027, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001467/0.001467, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.791/1.791, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005845/0.0005848, allocations: 15.41 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2787, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0008414/0.2796, allocations: 335.6 kB / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.115e-05/0.2796, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.2797, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.518e-05/0.2797, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.2797, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.621e-05/0.2797, allocations: 0 / 0.7876 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.2798, allocations: 12 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.192e-05/0.2799, allocations: 0 / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.476e-05/0.2799, allocations: 3.938 kB / 0.7876 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.2799, allocations: 3.938 kB / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.2799, allocations: 0 / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-06/0.2799, allocations: 0 / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.897e-06/0.2799, allocations: 0 / 0.7876 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.28, allocations: 25.7 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.384e-05/0.28, allocations: 3.984 kB / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.28, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2801, allocations: 4 kB / 0.7876 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.2801, allocations: 4 kB / 0.7877 GB, free: 11.56 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.0002669/0.2803, allocations: 303.4 kB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2804, allocations: 12.03 kB / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2804, allocations: 0 / 0.788 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.933e-05/0.2805, allocations: 167 kB / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2805, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.2806, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.2807, allocations: 33.69 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2807, allocations: 4 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.2807, allocations: 0 / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2807, allocations: 0 / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.2807, allocations: 7.938 kB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2809, allocations: 145.6 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.2809, allocations: 22.59 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.281, allocations: 8.859 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.281, allocations: 4 kB / 0.7883 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.281, allocations: 38.61 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.281, allocations: 0 / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.2811, allocations: 33.64 kB / 0.7884 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.2812, allocations: 51.41 kB / 0.7884 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.097e-05/0.2812, allocations: 89.86 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2813, allocations: 25.7 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.2813, allocations: 84.14 kB / 0.7886 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.2813, allocations: 8.031 kB / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.2813, allocations: 0 / 0.7886 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2814, allocations: 314.8 kB / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.2815, allocations: 0 / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.328e-06/0.2815, allocations: 3.938 kB / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.553e-05/0.2815, allocations: 0 / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2815, allocations: 0 / 0.7889 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.653e-05/0.2815, allocations: 45.58 kB / 0.789 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2816, allocations: 4.094 kB / 0.789 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2816, allocations: 4 kB / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2816, allocations: 0 / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.2817, allocations: 4 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2817, allocations: 0 / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-06/0.2817, allocations: 0 / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2817, allocations: 0 / 0.789 GB, free: 9.957 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/0.2818, allocations: 110.1 kB / 0.7891 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.2818, allocations: 3.953 kB / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.2818, allocations: 11.11 kB / 0.7891 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2818, allocations: 4 kB / 0.7891 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2818, allocations: 0 / 0.7891 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2818, allocations: 0 / 0.7891 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.612e-05/0.2819, allocations: 145.6 kB / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2819, allocations: 0 / 0.7893 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.2819, allocations: 4 kB / 0.7893 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2819, allocations: 3.953 kB / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.282, allocations: 0 / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.282, allocations: 0 / 0.7893 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.282, allocations: 7.984 kB / 0.7893 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.311e-05/0.282, allocations: 69.08 kB / 0.7893 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.2821, allocations: 81.05 kB / 0.7894 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.2821, allocations: 3.953 kB / 0.7894 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.762e-06/0.2821, allocations: 0 / 0.7894 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.2821, allocations: 0 / 0.7894 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.2821, allocations: 0 / 0.7894 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.2822, allocations: 79.27 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2822, allocations: 4.031 kB / 0.7895 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001938/0.2824, allocations: 4 kB / 0.7895 GB, free: 9.34 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 (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 9.389e-05/0.2825, allocations: 91.25 kB / 0.7896 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.935e-05/0.2825, allocations: 8 kB / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2825, allocations: 0 / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.215e-06/0.2826, allocations: 11.88 kB / 0.7896 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.2827, allocations: 0 / 0.7896 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.2829, allocations: 78.83 kB / 0.7897 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2831, allocations: 0.6731 MB / 0.7903 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.338e-05/0.2831, allocations: 4 kB / 0.7904 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.2831, allocations: 7.438 kB / 0.7904 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2831, allocations: 0 / 0.7904 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.001912/0.2851, allocations: 148.5 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: