Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.675/2.675, allocations: 287.9 MB / 302.9 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001446/0.001446, allocations: 188.9 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, allocations: 205.4 MB / 0.6301 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 101.2 kB / 0.7434 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007649/0.0007652, allocations: 19.58 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1688, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.7572/0.9261, allocations: 146.9 MB / 1.122 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.9428, allocations: 10.45 MB / 1.132 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.9444, allocations: 23.78 kB / 1.132 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.9454, allocations: 272.4 kB / 1.133 GB, free: 8 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.9489, allocations: 0.7537 MB / 1.133 GB, free: 15.97 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004638/0.9535, allocations: 1.186 MB / 1.135 GB, free: 15.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.9563, allocations: 1.351 MB / 1.136 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.9584, allocations: 1.145 MB / 1.137 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/0.9615, allocations: 1.083 MB / 1.138 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.9627, allocations: 0.5054 MB / 1.139 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.963, allocations: 45.42 kB / 1.139 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.9656, allocations: 0.6756 MB / 1.139 GB, free: 15.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005599/0.9662, allocations: 303.7 kB / 1.14 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.9667, allocations: 280.7 kB / 1.14 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.9698, allocations: 1.697 MB / 1.142 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.41e-06/0.9698, allocations: 0 / 1.142 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.532e-06/0.9698, allocations: 0 / 1.142 GB, free: 14.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.9699, allocations: 0 / 1.142 GB, free: 14.15 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.003405/0.9733, allocations: 1.561 MB / 1.143 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.9734, allocations: 8.656 kB / 1.143 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.9768, allocations: 407.7 kB / 1.143 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.9792, allocations: 0.9307 MB / 1.144 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.9794, allocations: 94.86 kB / 1.144 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.9797, allocations: 124.3 kB / 1.145 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.9837, allocations: 1.417 MB / 1.146 GB, free: 11.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.9838, allocations: 9.125 kB / 1.146 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.984, allocations: 57.38 kB / 1.146 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/0.984, allocations: 32.22 kB / 1.146 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.9881, allocations: 1.524 MB / 1.148 GB, free: 11.5 MB / 0.698 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.01032/0.9985, allocations: 4.9 MB / 1.152 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/1.002, allocations: 1.308 MB / 1.154 GB, free: 8.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/1.003, allocations: 260.8 kB / 1.154 GB, free: 7.785 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001582/1.004, allocations: 0.6093 MB / 1.154 GB, free: 7.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 4.761e-06/1.004, allocations: 0 / 1.154 GB, free: 7.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.005195/1.009, allocations: 1.538 MB / 1.156 GB, free: 7.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/1.01, allocations: 199.5 kB / 1.156 GB, free: 6.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.011, allocations: 0.8153 MB / 1.157 GB, free: 6.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/1.012, allocations: 43.48 kB / 1.157 GB, free: 6.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006511/1.012, allocations: 0.568 MB / 1.158 GB, free: 5.906 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/1.013, allocations: 332.8 kB / 1.158 GB, free: 5.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/1.013, allocations: 15.97 kB / 1.158 GB, free: 5.613 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.013, allocations: 342.4 kB / 1.158 GB, free: 5.281 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/1.014, allocations: 343.9 kB / 1.158 GB, free: 5.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/1.015, allocations: 0.5177 MB / 1.159 GB, free: 4.734 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.016, allocations: 420.2 kB / 1.159 GB, free: 4.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/1.016, allocations: 1.859 kB / 1.159 GB, free: 4.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003493/1.02, allocations: 1.091 MB / 1.16 GB, free: 3.969 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.02, allocations: 9.891 kB / 1.16 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/1.02, allocations: 3.156 kB / 1.16 GB, free: 3.965 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/1.021, allocations: 91.05 kB / 1.161 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.022, allocations: 233.5 kB / 1.161 GB, free: 3.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/1.025, allocations: 1.55 MB / 1.162 GB, free: 2.352 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.027, allocations: 140 kB / 1.162 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.027, allocations: 48.25 kB / 1.162 GB, free: 2.246 MB / 0.698 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.0008433/1.028, allocations: 326.2 kB / 1.163 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/1.028, allocations: 119.3 kB / 1.163 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004012/1.032, allocations: 1.342 MB / 1.164 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.032, allocations: 13.12 kB / 1.164 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.653e-06/1.032, allocations: 0 / 1.164 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/1.032, allocations: 3.984 kB / 1.164 GB, free: 1.168 MB / 0.698 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.006673/1.039, allocations: 2.717 MB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.039, allocations: 2.812 kB / 1.167 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/1.04, allocations: 215.9 kB / 1.167 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006106/1.041, allocations: 87.36 kB / 1.167 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.041, allocations: 30.3 kB / 1.167 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/1.043, allocations: 1.582 MB / 1.169 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.06e-06/1.043, allocations: 2.844 kB / 1.169 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/1.047, allocations: 1.298 MB / 1.17 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009142/1.048, allocations: 349.1 kB / 1.17 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.048, allocations: 23.7 kB / 1.17 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.049, allocations: 103.3 kB / 1.17 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.049, allocations: 77.27 kB / 1.171 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/1.05, allocations: 44.72 kB / 1.171 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001123/1.051, allocations: 0.5709 MB / 1.171 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.43e-07/1.051, allocations: 1.859 kB / 1.171 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001689/1.053, allocations: 435 kB / 1.172 GB, free: 12.04 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.002204/1.055, allocations: 0.6573 MB / 1.172 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00291/1.058, allocations: 1.031 MB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/1.058, allocations: 2.531 kB / 1.173 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/1.059, allocations: 0.6423 MB / 1.174 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/1.062, allocations: 457.2 kB / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/1.069, allocations: 2.941 MB / 1.177 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.07, allocations: 1.208 MB / 1.178 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002201/1.072, allocations: 365.6 kB / 1.179 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/1.073, allocations: 128.2 kB / 1.179 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of SimCode: time 1.544e-06/1.073, allocations: 2.5 kB / 1.179 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.05255/1.125, allocations: 20.82 MB / 1.199 GB, free: 6.238 MB / 0.7292 GB