Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 253.2 MB / 260.6 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001475, allocations: 186.9 kB / 319.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.414/2.414, allocations: 205.6 MB / 0.5709 GB, free: 15.2 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001212, allocations: 82.61 kB / 0.6751 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.785e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2016, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.266, allocations: 2.219 GB / 3.108 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/7.267, allocations: 83.95 kB / 3.108 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.879/9.146, allocations: 389.9 MB / 3.489 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.294e-06/9.146, allocations: 0 / 3.489 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001749/9.146, allocations: 39.98 kB / 3.489 GB, free: 102.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004991/9.151, allocations: 1.601 MB / 3.49 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/9.151, allocations: 12.03 kB / 3.49 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004313/9.155, allocations: 398.1 kB / 3.491 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/9.16, allocations: 1.161 MB / 3.492 GB, free: 98.87 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/9.16, allocations: 44 kB / 3.492 GB, free: 98.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/9.16, allocations: 72 kB / 3.492 GB, free: 98.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003825/9.164, allocations: 1.36 MB / 3.493 GB, free: 97.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/9.168, allocations: 1.199 MB / 3.494 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/9.168, allocations: 4 kB / 3.494 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/9.168, allocations: 4 kB / 3.494 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/9.168, allocations: 32 kB / 3.494 GB, free: 96.08 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/9.179, allocations: 4.71 MB / 3.499 GB, free: 91.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/9.182, allocations: 1.17 MB / 3.5 GB, free: 89.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008858/9.183, allocations: 413.4 kB / 3.5 GB, free: 89.51 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009551/9.184, allocations: 425.2 kB / 3.501 GB, free: 89.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/9.185, allocations: 0.5776 MB / 3.501 GB, free: 88.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 4.038e-06/9.185, allocations: 0 / 3.501 GB, free: 88.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.004521/9.19, allocations: 1.037 MB / 3.502 GB, free: 87.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/9.19, allocations: 244.1 kB / 3.503 GB, free: 87.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/9.191, allocations: 0.6213 MB / 3.503 GB, free: 86.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/9.191, allocations: 29.7 kB / 3.503 GB, free: 86.42 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000568/9.192, allocations: 0.5814 MB / 3.504 GB, free: 85.83 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004066/9.192, allocations: 315.3 kB / 3.504 GB, free: 85.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/9.192, allocations: 0 / 3.504 GB, free: 85.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/9.192, allocations: 345.9 kB / 3.505 GB, free: 85.18 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/9.193, allocations: 310.5 kB / 3.505 GB, free: 84.87 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/9.194, allocations: 0.4993 MB / 3.505 GB, free: 84.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/9.196, allocations: 474.7 kB / 3.506 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/9.196, allocations: 4 kB / 3.506 GB, free: 83.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004064/9.2, allocations: 1.09 MB / 3.507 GB, free: 82.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/9.2, allocations: 4 kB / 3.507 GB, free: 82.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/9.2, allocations: 4 kB / 3.507 GB, free: 82.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/9.201, allocations: 85.16 kB / 3.507 GB, free: 82.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/9.203, allocations: 231.7 kB / 3.507 GB, free: 82.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/9.206, allocations: 1.469 MB / 3.509 GB, free: 80.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/9.207, allocations: 103.3 kB / 3.509 GB, free: 80.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/9.208, allocations: 39.97 kB / 3.509 GB, free: 80.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003666/9.208, allocations: 128.7 kB / 3.509 GB, free: 80.55 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/9.208, allocations: 102.8 kB / 3.509 GB, free: 80.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/9.213, allocations: 1.324 MB / 3.51 GB, free: 79.11 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/9.213, allocations: 12 kB / 3.51 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/9.213, allocations: 0 / 3.51 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/9.213, allocations: 3.984 kB / 3.51 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/9.221, allocations: 2.471 MB / 3.513 GB, free: 76.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/9.221, allocations: 4 kB / 3.513 GB, free: 76.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/9.223, allocations: 223.7 kB / 3.513 GB, free: 76.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/9.224, allocations: 84.77 kB / 3.513 GB, free: 76.27 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/9.224, allocations: 15.98 kB / 3.513 GB, free: 76.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/9.226, allocations: 1.488 MB / 3.514 GB, free: 74.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/9.226, allocations: 4.031 kB / 3.514 GB, free: 74.63 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004172/9.23, allocations: 1.227 MB / 3.516 GB, free: 73.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/9.231, allocations: 359.4 kB / 3.516 GB, free: 73.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/9.232, allocations: 11.95 kB / 3.516 GB, free: 73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/9.233, allocations: 87.75 kB / 3.516 GB, free: 72.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/9.234, allocations: 69.22 kB / 3.516 GB, free: 72.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/9.234, allocations: 51.95 kB / 3.516 GB, free: 72.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008932/9.235, allocations: 491.1 kB / 3.517 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.81e-07/9.235, allocations: 4 kB / 3.517 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002405/9.237, allocations: 0.5337 MB / 3.517 GB, free: 71.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003914/9.241, allocations: 1.96 MB / 3.519 GB, free: 69.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002561/9.244, allocations: 0.9456 MB / 3.52 GB, free: 68.93 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/9.244, allocations: 4.188 kB / 3.52 GB, free: 68.92 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/9.245, allocations: 0.5884 MB / 3.521 GB, free: 68.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/9.248, allocations: 370 kB / 3.521 GB, free: 67.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/9.255, allocations: 1.789 MB / 3.523 GB, free: 66.14 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008451/9.256, allocations: 1.204 MB / 3.524 GB, free: 64.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002552/9.258, allocations: 368 kB / 3.524 GB, free: 64.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/9.259, allocations: 127.4 kB / 3.524 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of SimCode: time 1.372e-06/9.259, allocations: 0 / 3.524 GB, free: 64.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.06662/9.325, allocations: 26.69 MB / 3.55 GB, free: 37.91 MB / 0.8698 GB