Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002554/0.002559, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.454/1.454, allocations: 165.8 MB / 183.1 MB, free: 5.527 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.734/3.734, allocations: 410.7 MB / 0.6001 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 199.8 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004784, allocations: 16 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4123, allocations: 67.43 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.146/6.558, allocations: 2.062 GB / 2.871 GB, free: 32.25 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/6.559, allocations: 98.81 kB / 2.871 GB, free: 32.19 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.137/8.696, allocations: 404.2 MB / 3.266 GB, free: 82.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.434e-06/8.696, allocations: 0 / 3.266 GB, free: 82.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001275/8.696, allocations: 38.41 kB / 3.266 GB, free: 82.95 MB / 0.573 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.004712/8.701, allocations: 1.743 MB / 3.268 GB, free: 81.18 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/8.701, allocations: 8.031 kB / 3.268 GB, free: 81.18 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/8.705, allocations: 405.6 kB / 3.268 GB, free: 80.78 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/8.708, allocations: 0.9546 MB / 3.269 GB, free: 79.79 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.982e-05/8.708, allocations: 98.58 kB / 3.269 GB, free: 79.69 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/8.708, allocations: 124 kB / 3.269 GB, free: 79.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/8.712, allocations: 1.436 MB / 3.27 GB, free: 78.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/8.712, allocations: 3.797 kB / 3.27 GB, free: 78.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/8.712, allocations: 56 kB / 3.271 GB, free: 78 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/8.712, allocations: 32 kB / 3.271 GB, free: 77.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003884/8.716, allocations: 1.524 MB / 3.272 GB, free: 76.43 MB / 0.573 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.009666/8.725, allocations: 4.848 MB / 3.277 GB, free: 71.38 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00366/8.729, allocations: 1.469 MB / 3.278 GB, free: 69.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/8.73, allocations: 474 kB / 3.279 GB, free: 69.37 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009265/8.731, allocations: 425.4 kB / 3.279 GB, free: 68.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/8.733, allocations: 0.6373 MB / 3.28 GB, free: 68.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=98): time 4.168e-06/8.733, allocations: 0 / 3.28 GB, free: 68.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=98): time 0.006382/8.739, allocations: 1.59 MB / 3.281 GB, free: 66.61 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/8.74, allocations: 244.3 kB / 3.281 GB, free: 66.31 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/8.741, allocations: 0.8925 MB / 3.282 GB, free: 65.39 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/8.741, allocations: 49.7 kB / 3.282 GB, free: 65.34 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/8.742, allocations: 0.5545 MB / 3.283 GB, free: 64.78 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/8.742, allocations: 327.2 kB / 3.283 GB, free: 64.45 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/8.742, allocations: 27.94 kB / 3.283 GB, free: 64.43 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/8.742, allocations: 345.9 kB / 3.284 GB, free: 64.08 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/8.744, allocations: 357.8 kB / 3.284 GB, free: 63.73 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/8.745, allocations: 0.554 MB / 3.284 GB, free: 63.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/8.746, allocations: 430.8 kB / 3.285 GB, free: 62.69 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/8.746, allocations: 8 kB / 3.285 GB, free: 62.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003911/8.75, allocations: 1.13 MB / 3.286 GB, free: 61.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/8.75, allocations: 8 kB / 3.286 GB, free: 61.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/8.75, allocations: 0 / 3.286 GB, free: 61.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009763/8.751, allocations: 92.86 kB / 3.286 GB, free: 61.44 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/8.753, allocations: 227.7 kB / 3.286 GB, free: 61.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/8.756, allocations: 1.548 MB / 3.288 GB, free: 59.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/8.757, allocations: 139 kB / 3.288 GB, free: 59.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/8.758, allocations: 39.98 kB / 3.288 GB, free: 59.36 MB / 0.573 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 () * Number of clocked 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.0009587/8.759, allocations: 320.3 kB / 3.288 GB, free: 59.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/8.759, allocations: 110.7 kB / 3.288 GB, free: 58.93 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/8.764, allocations: 1.399 MB / 3.29 GB, free: 57.52 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/8.764, allocations: 8 kB / 3.29 GB, free: 57.51 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/8.764, allocations: 0 / 3.29 GB, free: 57.51 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/8.764, allocations: 3.984 kB / 3.29 GB, free: 57.51 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007977/8.772, allocations: 2.714 MB / 3.292 GB, free: 54.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/8.772, allocations: 0 / 3.292 GB, free: 54.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/8.774, allocations: 215.7 kB / 3.293 GB, free: 54.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/8.775, allocations: 92.72 kB / 3.293 GB, free: 54.43 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/8.776, allocations: 31.97 kB / 3.293 GB, free: 54.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/8.779, allocations: 1.562 MB / 3.294 GB, free: 52.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/8.779, allocations: 0 / 3.294 GB, free: 52.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/8.784, allocations: 1.261 MB / 3.296 GB, free: 51.42 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/8.786, allocations: 367.2 kB / 3.296 GB, free: 51.04 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/8.786, allocations: 19.98 kB / 3.296 GB, free: 51.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/8.788, allocations: 103.8 kB / 3.296 GB, free: 50.92 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/8.789, allocations: 72.89 kB / 3.296 GB, free: 50.85 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/8.789, allocations: 43.97 kB / 3.296 GB, free: 50.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001835/8.791, allocations: 0.629 MB / 3.297 GB, free: 50.16 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.21e-07/8.791, allocations: 2.188 kB / 3.297 GB, free: 50.16 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003456/8.794, allocations: 0.5872 MB / 3.297 GB, free: 49.58 MB / 0.573 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) * 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.005078/8.799, allocations: 1.865 MB / 3.299 GB, free: 47.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004668/8.804, allocations: 1.078 MB / 3.3 GB, free: 46.79 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/8.804, allocations: 3.953 kB / 3.3 GB, free: 46.78 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00259/8.807, allocations: 0.6485 MB / 3.301 GB, free: 46.12 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005312/8.812, allocations: 485.9 kB / 3.301 GB, free: 45.66 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/8.823, allocations: 2.945 MB / 3.304 GB, free: 42.68 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/8.824, allocations: 1.197 MB / 3.305 GB, free: 41.45 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003405/8.827, allocations: 377 kB / 3.306 GB, free: 41.08 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000824/8.828, allocations: 135.4 kB / 3.306 GB, free: 40.95 MB / 0.573 GB Notification: Performance of SimCode: time 1.433e-06/8.828, allocations: 0 / 3.306 GB, free: 40.95 MB / 0.573 GB Notification: Performance of Templates: time 0.09082/8.919, allocations: 38.12 MB / 3.343 GB, free: 3.055 MB / 0.573 GB