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.428/2.428, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.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.001474, allocations: 182.1 kB / 325.6 MB, free: 2.824 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.684/2.684, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001181/0.001181, allocations: 96.47 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004872, allocations: 12.16 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2381, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2496/0.4878, allocations: 147 MB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02247/0.5103, allocations: 10.54 MB / 1.053 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.5117, allocations: 27.81 kB / 1.053 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.513, allocations: 278.4 kB / 1.053 GB, free: 3.199 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003541/0.5166, allocations: 0.7786 MB / 1.054 GB, free: 2.422 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005357/0.5219, allocations: 1.207 MB / 1.055 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.681/1.203, allocations: 1.403 MB / 1.056 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/1.206, allocations: 1.172 MB / 1.058 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/1.209, allocations: 1.115 MB / 1.059 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/1.21, allocations: 0.5168 MB / 1.059 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002652/1.211, allocations: 44.38 kB / 1.059 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/1.213, allocations: 0.6739 MB / 1.06 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005938/1.214, allocations: 316.7 kB / 1.06 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005088/1.214, allocations: 288.2 kB / 1.06 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/1.218, allocations: 1.734 MB / 1.062 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.218, allocations: 0 / 1.062 GB, free: 3.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.925e-06/1.218, allocations: 0 / 1.062 GB, free: 3.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.529e-05/1.219, allocations: 0 / 1.062 GB, free: 3.734 MB / 0.698 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.004976/1.224, allocations: 1.573 MB / 1.064 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.224, allocations: 9.641 kB / 1.064 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/1.228, allocations: 415.2 kB / 1.064 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/1.231, allocations: 0.9196 MB / 1.065 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/1.231, allocations: 102.3 kB / 1.065 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/1.231, allocations: 126.2 kB / 1.065 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/1.236, allocations: 1.436 MB / 1.067 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.996e-05/1.236, allocations: 10.36 kB / 1.067 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002641/1.237, allocations: 58.97 kB / 1.067 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/1.237, allocations: 31.94 kB / 1.067 GB, free: 18.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00546/1.242, allocations: 1.521 MB / 1.068 GB, free: 18.17 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01358/1.256, allocations: 4.92 MB / 1.073 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/1.26, allocations: 1.286 MB / 1.074 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/1.261, allocations: 257.3 kB / 1.074 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001995/1.263, allocations: 0.6192 MB / 1.075 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=98): time 3.496e-06/1.263, allocations: 1.859 kB / 1.075 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=98): time 0.007967/1.271, allocations: 1.524 MB / 1.077 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/1.271, allocations: 197.4 kB / 1.077 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/1.274, allocations: 0.8387 MB / 1.078 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003655/1.274, allocations: 48.58 kB / 1.078 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007534/1.275, allocations: 0.5687 MB / 1.078 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005276/1.276, allocations: 332 kB / 1.078 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.276, allocations: 18.03 kB / 1.078 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002164/1.276, allocations: 339.3 kB / 1.079 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.278, allocations: 340.5 kB / 1.079 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/1.28, allocations: 0.5221 MB / 1.08 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/1.282, allocations: 414.1 kB / 1.08 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/1.282, allocations: 1.125 kB / 1.08 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005964/1.288, allocations: 1.088 MB / 1.081 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/1.288, allocations: 5.719 kB / 1.081 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.288, allocations: 4.75 kB / 1.081 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/1.289, allocations: 90.75 kB / 1.081 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/1.292, allocations: 231.1 kB / 1.081 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/1.296, allocations: 1.558 MB / 1.083 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/1.299, allocations: 145.2 kB / 1.083 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002373/1.299, allocations: 39.94 kB / 1.083 GB, free: 12.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.001421/1.301, allocations: 331.9 kB / 1.083 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/1.301, allocations: 116.2 kB / 1.084 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006781/1.308, allocations: 1.335 MB / 1.085 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/1.308, allocations: 14.94 kB / 1.085 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.308, allocations: 2.812 kB / 1.085 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.308, allocations: 3.141 kB / 1.085 GB, free: 12.06 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.01024/1.318, allocations: 2.724 MB / 1.088 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.319, allocations: 0 / 1.088 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.321, allocations: 221.8 kB / 1.088 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/1.322, allocations: 84.73 kB / 1.088 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/1.322, allocations: 34.22 kB / 1.088 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003729/1.326, allocations: 1.576 MB / 1.089 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.326, allocations: 2.875 kB / 1.089 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/1.332, allocations: 1.299 MB / 1.091 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.333, allocations: 354.4 kB / 1.091 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/1.334, allocations: 24.69 kB / 1.091 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.336, allocations: 107.3 kB / 1.091 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/1.337, allocations: 80.02 kB / 1.091 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002402/1.337, allocations: 50.31 kB / 1.091 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001784/1.339, allocations: 0.5732 MB / 1.092 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.339, allocations: 0 / 1.092 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00273/1.341, allocations: 441.4 kB / 1.092 GB, free: 9.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Number of clocked states: 0 () * 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.002921/1.344, allocations: 0.6556 MB / 1.093 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003687/1.348, allocations: 1.023 MB / 1.094 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.348, allocations: 5.656 kB / 1.094 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.35, allocations: 0.6351 MB / 1.094 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004957/1.355, allocations: 475.3 kB / 1.095 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.366, allocations: 2.969 MB / 1.098 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.367, allocations: 1.21 MB / 1.099 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00266/1.37, allocations: 370.5 kB / 1.099 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/1.371, allocations: 133.3 kB / 1.099 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/1.371, allocations: 0 / 1.099 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of Templates: time 0.05973/1.431, allocations: 21.04 MB / 1.12 GB, free: 14.99 MB / 0.7292 GB