Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 190.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 282.5 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9911/0.9911, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 87.45 kB / 0.5947 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1754, allocations: 86.99 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5181/0.6935, allocations: 173.7 MB / 0.8492 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.7099, allocations: 12.59 MB / 0.8615 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.7117, allocations: 33.97 kB / 0.8615 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.713, allocations: 378.3 kB / 0.8619 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002892/0.7159, allocations: 0.8857 MB / 0.8628 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.72, allocations: 1.683 MB / 0.8644 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002466/0.7225, allocations: 2.41 MB / 0.8668 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.7244, allocations: 1.623 MB / 0.8683 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.7286, allocations: 1.384 MB / 0.8697 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.7298, allocations: 0.8918 MB / 0.8706 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.73, allocations: 173.6 kB / 0.8707 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.7332, allocations: 1.436 MB / 0.8721 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00049/0.7337, allocations: 487.9 kB / 0.8726 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009089/0.7346, allocations: 0.8584 MB / 0.8734 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004/0.7386, allocations: 2.765 MB / 0.8761 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7387, allocations: 0 / 0.8761 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7387, allocations: 2.906 kB / 0.8761 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.929e-05/0.7387, allocations: 0 / 0.8761 GB, free: 10.23 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003637/0.7424, allocations: 2.007 MB / 0.8781 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7424, allocations: 9.594 kB / 0.8781 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/0.7451, allocations: 411.5 kB / 0.8785 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.7467, allocations: 0.9893 MB / 0.8795 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.7468, allocations: 106.4 kB / 0.8796 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.7469, allocations: 131.7 kB / 0.8797 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002671/0.7496, allocations: 1.521 MB / 0.8812 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.7497, allocations: 3.938 kB / 0.8812 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.7498, allocations: 62.55 kB / 0.8812 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.7499, allocations: 34.41 kB / 0.8813 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.7524, allocations: 1.578 MB / 0.8828 GB, free: 5.859 MB / 0.5919 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.00711/0.7596, allocations: 5.072 MB / 0.8878 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.7621, allocations: 1.516 MB / 0.8892 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/0.763, allocations: 483.9 kB / 0.8897 GB, free: 276 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/0.7638, allocations: 432.1 kB / 0.8901 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.765, allocations: 0.6879 MB / 0.8908 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/0.7651, allocations: 0 / 0.8908 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.004493/0.7696, allocations: 1.668 MB / 0.8924 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.7697, allocations: 196.8 kB / 0.8926 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/0.7714, allocations: 0.8959 MB / 0.8935 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.7715, allocations: 45.7 kB / 0.8935 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/0.7722, allocations: 0.6013 MB / 0.8941 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.7725, allocations: 350.9 kB / 0.8945 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.7729, allocations: 214.8 kB / 0.8947 GB, free: 11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.7731, allocations: 345.9 kB / 0.895 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.7739, allocations: 399.3 kB / 0.8954 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009886/0.7749, allocations: 0.5707 MB / 0.8959 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.7767, allocations: 0.9527 MB / 0.8969 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.7767, allocations: 0 / 0.8969 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003188/0.7799, allocations: 1.227 MB / 0.8981 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.7799, allocations: 11.94 kB / 0.8981 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.78, allocations: 4 kB / 0.8981 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/0.7806, allocations: 93.11 kB / 0.8982 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.7818, allocations: 259.7 kB / 0.8984 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.7843, allocations: 1.646 MB / 0.9 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.7856, allocations: 153 kB / 0.9002 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.7857, allocations: 59.91 kB / 0.9002 GB, free: 5.051 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007067/0.7865, allocations: 340.6 kB / 0.9005 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/0.7869, allocations: 118.6 kB / 0.9007 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.7903, allocations: 1.441 MB / 0.9021 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.7903, allocations: 12 kB / 0.9021 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7903, allocations: 0 / 0.9021 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.7903, allocations: 11.97 kB / 0.9021 GB, free: 3.121 MB / 0.6075 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.005353/0.7957, allocations: 2.874 MB / 0.9049 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7957, allocations: 0 / 0.9049 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7968, allocations: 219.7 kB / 0.9051 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.7972, allocations: 80.77 kB / 0.9052 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.616e-05/0.7973, allocations: 35.97 kB / 0.9052 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.7992, allocations: 1.666 MB / 0.9068 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7992, allocations: 4.062 kB / 0.9068 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.8021, allocations: 1.324 MB / 0.9081 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007539/0.8029, allocations: 347.2 kB / 0.9085 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/0.8032, allocations: 31.98 kB / 0.9085 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.8044, allocations: 105.4 kB / 0.9086 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.8046, allocations: 92.81 kB / 0.9087 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.8047, allocations: 47.97 kB / 0.9087 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001057/0.8058, allocations: 0.6189 MB / 0.9093 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8058, allocations: 0 / 0.9093 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001614/0.8074, allocations: 482.9 kB / 0.9098 GB, free: 10.93 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001891/0.8093, allocations: 0.7101 MB / 0.9105 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003601/0.8129, allocations: 1.468 MB / 0.9119 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.813, allocations: 3.938 kB / 0.9119 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.8143, allocations: 0.6798 MB / 0.9126 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.8167, allocations: 0.5219 MB / 0.9131 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.8224, allocations: 3.052 MB / 0.9161 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.8233, allocations: 1.209 MB / 0.9173 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001519/0.8248, allocations: 389.8 kB / 0.9176 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.8252, allocations: 139.4 kB / 0.9178 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.8252, allocations: 7.938 kB / 0.9178 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of Templates: time 0.04168/0.8669, allocations: 23.86 MB / 0.9411 GB, free: 11.35 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)