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.001411/0.001414, allocations: 187.9 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7595/0.7595, allocations: 82.93 MB / 99.42 MB, free: 3.281 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 325.4 MB, free: 3.422 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 102.7 kB / 393.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004797, allocations: 15.98 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09055, allocations: 67.44 MB / 0.5263 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5243/0.6149, allocations: 146.9 MB / 0.6698 GB, free: 9.668 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02196/0.6369, allocations: 10.46 MB / 0.68 GB, free: 1.414 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.6381, allocations: 23.41 kB / 0.68 GB, free: 1.406 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.6391, allocations: 268.2 kB / 0.6803 GB, free: 1.184 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.6418, allocations: 0.746 MB / 0.681 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.6461, allocations: 1.192 MB / 0.6822 GB, free: 15.74 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002627/0.6488, allocations: 1.347 MB / 0.6835 GB, free: 14.46 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.6508, allocations: 1.155 MB / 0.6846 GB, free: 13.29 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.6536, allocations: 1.075 MB / 0.6857 GB, free: 12.21 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008638/0.6545, allocations: 0.5024 MB / 0.6862 GB, free: 11.7 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.6546, allocations: 40 kB / 0.6862 GB, free: 11.66 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.6567, allocations: 0.6904 MB / 0.6869 GB, free: 10.97 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.6571, allocations: 298.9 kB / 0.6872 GB, free: 10.68 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.6575, allocations: 277 kB / 0.6874 GB, free: 10.4 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.6603, allocations: 1.703 MB / 0.6891 GB, free: 8.695 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.379e-06/0.6603, allocations: 0 / 0.6891 GB, free: 8.695 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.252e-06/0.6603, allocations: 3.938 kB / 0.6891 GB, free: 8.691 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.6603, allocations: 0 / 0.6891 GB, free: 8.691 MB / 474.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.003253/0.6636, allocations: 1.56 MB / 0.6906 GB, free: 7.074 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6636, allocations: 8.031 kB / 0.6906 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.6669, allocations: 417.6 kB / 0.691 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.669, allocations: 0.9067 MB / 0.6919 GB, free: 5.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.6691, allocations: 98.58 kB / 0.692 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.6694, allocations: 128 kB / 0.6921 GB, free: 5.484 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.6728, allocations: 1.42 MB / 0.6935 GB, free: 3.984 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.6728, allocations: 3.938 kB / 0.6935 GB, free: 3.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.673, allocations: 60 kB / 0.6936 GB, free: 3.922 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.6731, allocations: 39.95 kB / 0.6936 GB, free: 3.883 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.6768, allocations: 1.52 MB / 0.6951 GB, free: 2.355 MB / 474.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.009534/0.6863, allocations: 4.907 MB / 0.6999 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/0.6897, allocations: 1.299 MB / 0.7012 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.6909, allocations: 263.1 kB / 0.7014 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002832/0.6937, allocations: 0.6177 MB / 0.702 GB, free: 10.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 8.342e-06/0.6938, allocations: 0 / 0.702 GB, free: 10.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.009087/0.7029, allocations: 1.537 MB / 0.7035 GB, free: 9.352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.7032, allocations: 192.9 kB / 0.7037 GB, free: 9.117 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002253/0.7054, allocations: 0.822 MB / 0.7045 GB, free: 8.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.7057, allocations: 49.69 kB / 0.7046 GB, free: 8.215 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006396/0.7063, allocations: 0.5621 MB / 0.7051 GB, free: 7.645 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.7068, allocations: 327.2 kB / 0.7054 GB, free: 7.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.7069, allocations: 16 kB / 0.7054 GB, free: 7.305 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.7071, allocations: 345.9 kB / 0.7058 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.7082, allocations: 345.8 kB / 0.7061 GB, free: 6.625 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.7095, allocations: 0.5163 MB / 0.7066 GB, free: 6.047 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.7107, allocations: 418.8 kB / 0.707 GB, free: 5.637 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-06/0.7107, allocations: 4 kB / 0.707 GB, free: 5.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003448/0.7142, allocations: 1.098 MB / 0.7081 GB, free: 4.523 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.7143, allocations: 4 kB / 0.7081 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7143, allocations: 4 kB / 0.7081 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/0.715, allocations: 97.16 kB / 0.7082 GB, free: 4.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.7164, allocations: 227.7 kB / 0.7084 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.7191, allocations: 1.554 MB / 0.7099 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.7205, allocations: 131.1 kB / 0.71 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.7206, allocations: 43.97 kB / 0.7101 GB, free: 2.332 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: 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.0008317/0.7215, allocations: 335.8 kB / 0.7104 GB, free: 1.996 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.7218, allocations: 114.6 kB / 0.7105 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.726, allocations: 1.338 MB / 0.7118 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.726, allocations: 12 kB / 0.7118 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.726, allocations: 0 / 0.7118 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.7261, allocations: 7.984 kB / 0.7118 GB, free: 0.5156 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.006714/0.7328, allocations: 2.722 MB / 0.7145 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.418e-06/0.7328, allocations: 0 / 0.7145 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.7341, allocations: 215.7 kB / 0.7147 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006355/0.7348, allocations: 88.89 kB / 0.7148 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.7349, allocations: 27.98 kB / 0.7148 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.7375, allocations: 1.579 MB / 0.7163 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.791e-06/0.7375, allocations: 8.031 kB / 0.7164 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.7411, allocations: 1.296 MB / 0.7176 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008739/0.742, allocations: 347.2 kB / 0.7179 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.7423, allocations: 31.97 kB / 0.718 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.7435, allocations: 107.3 kB / 0.7181 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.7437, allocations: 80.78 kB / 0.7182 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.7439, allocations: 47.97 kB / 0.7182 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001119/0.745, allocations: 0.5741 MB / 0.7188 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.08e-07/0.745, allocations: 0 / 0.7188 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001608/0.7466, allocations: 434.9 kB / 0.7192 GB, free: 8.66 MB / 0.4948 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.002192/0.7489, allocations: 0.656 MB / 0.7198 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002984/0.7519, allocations: 1.027 MB / 0.7208 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.909e-06/0.7519, allocations: 320 / 0.7208 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.7536, allocations: 0.6329 MB / 0.7214 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.7562, allocations: 451.9 kB / 0.7219 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.7632, allocations: 2.952 MB / 0.7248 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7644, allocations: 1.193 MB / 0.7259 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002174/0.7666, allocations: 373.2 kB / 0.7263 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/0.7671, allocations: 135.3 kB / 0.7264 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of SimCode: time 1.689e-06/0.7671, allocations: 0 / 0.7264 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.05901/0.8261, allocations: 20.8 MB / 0.7467 GB, free: 12.68 MB / 0.5261 GB