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 4.45/4.45, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002481/0.002481, allocations: 361.9 kB / 0.644 GB, free: 21.55 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.889/3.889, allocations: 410.8 MB / 1.112 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 169.2 kB / 1.225 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 17.38 kB / 1.348 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1524, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1551/0.3075, allocations: 158.3 MB / 1.615 GB, free: 62.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01404/0.3216, allocations: 11.15 MB / 1.626 GB, free: 50.97 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009954/0.3226, allocations: 27.81 kB / 1.626 GB, free: 50.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007753/0.3234, allocations: 250.2 kB / 1.626 GB, free: 50.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.3255, allocations: 0.7658 MB / 1.627 GB, free: 49.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.3291, allocations: 1.179 MB / 1.628 GB, free: 48.76 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.3314, allocations: 2.321 MB / 1.631 GB, free: 46.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.3328, allocations: 1.141 MB / 1.632 GB, free: 45.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.335, allocations: 1.093 MB / 1.633 GB, free: 44.18 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007379/0.3357, allocations: 0.6299 MB / 1.633 GB, free: 43.54 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.3359, allocations: 40 kB / 1.633 GB, free: 43.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.3375, allocations: 0.6704 MB / 1.634 GB, free: 42.83 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.3378, allocations: 314.8 kB / 1.634 GB, free: 42.52 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.3381, allocations: 277 kB / 1.635 GB, free: 42.25 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.3398, allocations: 1.703 MB / 1.636 GB, free: 40.54 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.234e-06/0.3398, allocations: 0 / 1.636 GB, free: 40.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3399, allocations: 0 / 1.636 GB, free: 40.54 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.3399, allocations: 0 / 1.636 GB, free: 40.54 MB / 0.8073 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.002522/0.3424, allocations: 1.553 MB / 1.638 GB, free: 38.93 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3425, allocations: 12.75 kB / 1.638 GB, free: 38.92 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/0.3454, allocations: 409.7 kB / 1.638 GB, free: 38.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.3469, allocations: 0.9221 MB / 1.639 GB, free: 37.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.347, allocations: 94.58 kB / 1.639 GB, free: 37.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.3472, allocations: 128 kB / 1.639 GB, free: 37.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.3499, allocations: 1.432 MB / 1.641 GB, free: 35.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.35, allocations: 3.938 kB / 1.641 GB, free: 35.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/0.3501, allocations: 56 kB / 1.641 GB, free: 35.76 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.3502, allocations: 35.98 kB / 1.641 GB, free: 35.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.3532, allocations: 1.52 MB / 1.642 GB, free: 34.2 MB / 0.8073 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.007185/0.3604, allocations: 4.903 MB / 1.647 GB, free: 29.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.3631, allocations: 1.421 MB / 1.649 GB, free: 27.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009414/0.364, allocations: 460.3 kB / 1.649 GB, free: 27.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/0.3648, allocations: 433.4 kB / 1.649 GB, free: 26.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.366, allocations: 0.6178 MB / 1.65 GB, free: 25.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=98): time 4.147e-06/0.366, allocations: 0 / 1.65 GB, free: 25.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=98): time 0.004417/0.3705, allocations: 1.543 MB / 1.652 GB, free: 24.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.3706, allocations: 188.9 kB / 1.652 GB, free: 24.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3718, allocations: 0.8297 MB / 1.653 GB, free: 23.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/0.3719, allocations: 41.7 kB / 1.653 GB, free: 23.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.3723, allocations: 0.5544 MB / 1.653 GB, free: 22.69 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.3726, allocations: 335.2 kB / 1.653 GB, free: 22.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.3726, allocations: 20 kB / 1.653 GB, free: 22.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.3727, allocations: 341.9 kB / 1.654 GB, free: 22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008778/0.3736, allocations: 361.8 kB / 1.654 GB, free: 21.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.3747, allocations: 0.5364 MB / 1.655 GB, free: 21.05 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.3757, allocations: 434.8 kB / 1.655 GB, free: 20.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.35e-06/0.3757, allocations: 0 / 1.655 GB, free: 20.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002971/0.3787, allocations: 1.16 MB / 1.656 GB, free: 19.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.3787, allocations: 12.36 kB / 1.656 GB, free: 19.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3787, allocations: 8 kB / 1.656 GB, free: 19.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.3794, allocations: 80.78 kB / 1.656 GB, free: 19.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.3807, allocations: 243.7 kB / 1.657 GB, free: 19.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.3827, allocations: 1.546 MB / 1.658 GB, free: 17.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.384, allocations: 142.9 kB / 1.658 GB, free: 17.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3841, allocations: 47.97 kB / 1.658 GB, free: 17.25 MB / 0.8073 GB 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.0006867/0.3848, allocations: 322.2 kB / 1.659 GB, free: 16.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.3851, allocations: 114.6 kB / 1.659 GB, free: 16.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003455/0.3885, allocations: 1.341 MB / 1.66 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3886, allocations: 12 kB / 1.66 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-06/0.3886, allocations: 3.938 kB / 1.66 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.3886, allocations: 3.984 kB / 1.66 GB, free: 15.44 MB / 0.8073 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.005124/0.3938, allocations: 2.681 MB / 1.663 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.98e-06/0.3938, allocations: 0 / 1.663 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.395, allocations: 211.7 kB / 1.663 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.3956, allocations: 92.77 kB / 1.663 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-05/0.3957, allocations: 31.97 kB / 1.663 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.3976, allocations: 1.556 MB / 1.664 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-06/0.3976, allocations: 0 / 1.664 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.4005, allocations: 1.226 MB / 1.666 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006928/0.4012, allocations: 347.2 kB / 1.666 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.4014, allocations: 23.94 kB / 1.666 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.4026, allocations: 105 kB / 1.666 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.4028, allocations: 76.89 kB / 1.666 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.4029, allocations: 47.97 kB / 1.666 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0008875/0.4038, allocations: 0.5662 MB / 1.667 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.57e-07/0.4038, allocations: 0 / 1.667 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001349/0.4052, allocations: 442.8 kB / 1.667 GB, free: 7.785 MB / 0.8073 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.002025/0.4072, allocations: 0.6549 MB / 1.668 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.4097, allocations: 1.07 MB / 1.669 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.467e-06/0.4098, allocations: 0 / 1.669 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.4111, allocations: 0.6446 MB / 1.669 GB, free: 5.605 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.4137, allocations: 471.7 kB / 1.67 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.4194, allocations: 2.902 MB / 1.673 GB, free: 2.223 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.4201, allocations: 1.205 MB / 1.674 GB, free: 0.9883 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002016/0.4222, allocations: 373 kB / 1.674 GB, free: 0.6211 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.4226, allocations: 131.4 kB / 1.674 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of SimCode: time 1.816e-06/0.4226, allocations: 4 kB / 1.674 GB, free: 500 kB / 0.8073 GB Notification: Performance of Templates: time 0.5497/0.9723, allocations: 20.8 MB / 1.695 GB, free: 209.8 MB / 0.8073 GB