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.002406/0.00241, allocations: 353.3 kB / 15.94 MB, free: 6.211 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.506/1.506, allocations: 165.8 MB / 182.5 MB, free: 5.512 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.974/3.974, allocations: 410.8 MB / 0.5995 GB, free: 15.23 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.001734/0.001733, allocations: 194.8 kB / 0.6662 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004627, allocations: 12 kB / 0.7423 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3363, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6362/0.9726, allocations: 158.3 MB / 0.9627 GB, free: 1.363 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.9884, allocations: 11.15 MB / 0.9736 GB, free: 1.062 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.9898, allocations: 28.44 kB / 0.9736 GB, free: 1.051 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008745/0.9907, allocations: 248.1 kB / 0.9739 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.9935, allocations: 0.7665 MB / 0.9746 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.9976, allocations: 1.179 MB / 0.9758 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003027/1.001, allocations: 2.32 MB / 0.9781 GB, free: 328 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/1.002, allocations: 1.147 MB / 0.9792 GB, free: 148 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/1.006, allocations: 1.1 MB / 0.9802 GB, free: 0 / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/1.007, allocations: 0.6636 MB / 0.9809 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/1.007, allocations: 40.88 kB / 0.9809 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/1.009, allocations: 0.6643 MB / 0.9816 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004704/1.01, allocations: 313 kB / 0.9819 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/1.01, allocations: 276.7 kB / 0.9821 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/1.013, allocations: 1.708 MB / 0.9838 GB, free: 14.73 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.643e-06/1.013, allocations: 0 / 0.9838 GB, free: 14.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.222e-06/1.013, allocations: 0 / 0.9838 GB, free: 14.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.503e-05/1.013, allocations: 0 / 0.9838 GB, free: 14.73 MB / 490.7 MB 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.003364/1.017, allocations: 1.554 MB / 0.9853 GB, free: 13.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.017, allocations: 9.375 kB / 0.9853 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/1.02, allocations: 413.8 kB / 0.9857 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/1.022, allocations: 0.917 MB / 0.9866 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/1.022, allocations: 101.1 kB / 0.9867 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/1.023, allocations: 124.7 kB / 0.9868 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/1.026, allocations: 1.428 MB / 0.9882 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/1.026, allocations: 7.938 kB / 0.9882 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.026, allocations: 60.66 kB / 0.9883 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/1.026, allocations: 33.45 kB / 0.9883 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/1.03, allocations: 1.516 MB / 0.9898 GB, free: 12.08 MB / 490.7 MB 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.01008/1.04, allocations: 4.912 MB / 0.9946 GB, free: 8.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/1.043, allocations: 1.427 MB / 0.996 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.044, allocations: 448.7 kB / 0.9964 GB, free: 8.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009373/1.045, allocations: 438.9 kB / 0.9969 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/1.047, allocations: 0.6144 MB / 0.9975 GB, free: 7.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 4.872e-06/1.047, allocations: 0 / 0.9975 GB, free: 7.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.005055/1.052, allocations: 1.542 MB / 0.999 GB, free: 7.277 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.052, allocations: 199.6 kB / 0.9991 GB, free: 7.051 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.054, allocations: 0.8292 MB / 1 GB, free: 6.766 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/1.054, allocations: 43.64 kB / 1 GB, free: 6.734 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/1.054, allocations: 0.5559 MB / 1.001 GB, free: 6.434 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003993/1.055, allocations: 330 kB / 1.001 GB, free: 6.199 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/1.055, allocations: 17.59 kB / 1.001 GB, free: 6.199 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/1.055, allocations: 345.1 kB / 1.001 GB, free: 5.883 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009977/1.056, allocations: 368 kB / 1.002 GB, free: 5.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.057, allocations: 0.5289 MB / 1.002 GB, free: 5.605 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/1.058, allocations: 436.1 kB / 1.002 GB, free: 5.551 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/1.058, allocations: 1.859 kB / 1.002 GB, free: 5.551 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003252/1.062, allocations: 1.159 MB / 1.004 GB, free: 5.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/1.062, allocations: 8.062 kB / 1.004 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.062, allocations: 2.906 kB / 1.004 GB, free: 5.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/1.062, allocations: 85.5 kB / 1.004 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/1.064, allocations: 239 kB / 1.004 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/1.067, allocations: 1.541 MB / 1.005 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.068, allocations: 141.2 kB / 1.006 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.068, allocations: 48.19 kB / 1.006 GB, free: 3.73 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * 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.0007833/1.069, allocations: 330.7 kB / 1.006 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/1.069, allocations: 114.2 kB / 1.006 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/1.073, allocations: 1.34 MB / 1.007 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.073, allocations: 12.62 kB / 1.007 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.344e-06/1.073, allocations: 0 / 1.007 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.073, allocations: 7.938 kB / 1.007 GB, free: 3.156 MB / 490.7 MB 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.005859/1.079, allocations: 2.681 MB / 1.01 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.299e-06/1.079, allocations: 0 / 1.01 GB, free: 2.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/1.081, allocations: 222.4 kB / 1.01 GB, free: 1.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006597/1.081, allocations: 86.02 kB / 1.01 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.082, allocations: 23.92 kB / 1.01 GB, free: 1.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/1.084, allocations: 1.56 MB / 1.012 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.813e-06/1.084, allocations: 1.969 kB / 1.012 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00348/1.088, allocations: 1.233 MB / 1.013 GB, free: 15.26 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/1.089, allocations: 348.5 kB / 1.013 GB, free: 14.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.089, allocations: 22.88 kB / 1.013 GB, free: 14.96 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.09, allocations: 103.5 kB / 1.013 GB, free: 14.88 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.09, allocations: 70.64 kB / 1.014 GB, free: 14.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.09, allocations: 53.34 kB / 1.014 GB, free: 14.78 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001124/1.091, allocations: 0.5618 MB / 1.014 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.43e-07/1.091, allocations: 0 / 1.014 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00164/1.093, allocations: 442.9 kB / 1.015 GB, free: 13.95 MB / 0.4949 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.002192/1.095, allocations: 0.6492 MB / 1.015 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.003143/1.099, allocations: 1.077 MB / 1.016 GB, free: 12.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.163e-06/1.099, allocations: 0 / 1.016 GB, free: 12.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.1, allocations: 0.6359 MB / 1.017 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/1.103, allocations: 483.3 kB / 1.017 GB, free: 11.84 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007195/1.11, allocations: 2.906 MB / 1.02 GB, free: 9.16 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/1.112, allocations: 1.202 MB / 1.021 GB, free: 7.945 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00219/1.114, allocations: 369.1 kB / 1.022 GB, free: 7.582 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/1.114, allocations: 129.5 kB / 1.022 GB, free: 7.465 MB / 0.4949 GB Notification: Performance of SimCode: time 1.833e-06/1.114, allocations: 0 / 1.022 GB, free: 7.465 MB / 0.4949 GB Notification: Performance of Templates: time 0.05398/1.168, allocations: 20.78 MB / 1.042 GB, free: 2.938 MB / 0.5105 GB