Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001142/0.001142, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.000968/0.0009681, allocations: 196 kB / 17.98 MB, free: 5.031 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.243/1.243, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6748/0.6748, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001179, allocations: 59.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3195, allocations: 76.15 MB / 0.5576 GB, free: 36.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1746/0.4941, allocations: 176.8 MB / 0.7302 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.51, allocations: 12.81 MB / 0.7427 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.5114, allocations: 31.81 kB / 0.7427 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.5126, allocations: 476.3 kB / 0.7432 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.5154, allocations: 1.024 MB / 0.7442 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004151/0.5196, allocations: 1.873 MB / 0.746 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.5225, allocations: 2.538 MB / 0.7485 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2948/0.8173, allocations: 1.588 MB / 0.75 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00444/0.8218, allocations: 1.42 MB / 0.7514 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.8234, allocations: 0.8813 MB / 0.7523 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003408/0.8237, allocations: 171.9 kB / 0.7525 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/0.8271, allocations: 1.427 MB / 0.7538 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006021/0.8277, allocations: 496.8 kB / 0.7543 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.8289, allocations: 0.876 MB / 0.7552 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.8342, allocations: 2.797 MB / 0.7579 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8342, allocations: 3.094 kB / 0.7579 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.915e-06/0.8342, allocations: 1.031 kB / 0.7579 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.454e-05/0.8343, allocations: 3 kB / 0.7579 GB, free: 3.191 MB / 0.5762 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.004936/0.8392, allocations: 2.026 MB / 0.7599 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.8393, allocations: 10.38 kB / 0.7599 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002772/0.842, allocations: 406.2 kB / 0.7603 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.844, allocations: 1.019 MB / 0.7613 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.8441, allocations: 107.2 kB / 0.7614 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.8444, allocations: 133.5 kB / 0.7615 GB, free: 17.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.8473, allocations: 1.524 MB / 0.763 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.8473, allocations: 0.875 kB / 0.763 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.8475, allocations: 60.78 kB / 0.7631 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.8475, allocations: 34.55 kB / 0.7631 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002859/0.8504, allocations: 1.585 MB / 0.7646 GB, free: 17.52 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.007753/0.8582, allocations: 5.293 MB / 0.7698 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.8606, allocations: 1.527 MB / 0.7713 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008128/0.8615, allocations: 478.1 kB / 0.7718 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.8622, allocations: 428.1 kB / 0.7722 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.8635, allocations: 0.6867 MB / 0.7728 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.705e-06/0.8635, allocations: 0.7812 kB / 0.7728 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004384/0.8679, allocations: 1.669 MB / 0.7745 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.868, allocations: 195.9 kB / 0.7747 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.8696, allocations: 0.8962 MB / 0.7755 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.8698, allocations: 46.98 kB / 0.7756 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.8704, allocations: 0.5974 MB / 0.7762 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.8707, allocations: 350 kB / 0.7765 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.8711, allocations: 218 kB / 0.7767 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8712, allocations: 349 kB / 0.777 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.872, allocations: 400.4 kB / 0.7774 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008503/0.8728, allocations: 0.5659 MB / 0.778 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.8743, allocations: 0.9574 MB / 0.7789 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8744, allocations: 3 kB / 0.7789 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002473/0.8768, allocations: 1.239 MB / 0.7801 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.8769, allocations: 10.38 kB / 0.7801 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8769, allocations: 3.812 kB / 0.7801 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.8775, allocations: 86.06 kB / 0.7802 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.8785, allocations: 259 kB / 0.7805 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.8806, allocations: 1.656 MB / 0.7821 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.8818, allocations: 132.6 kB / 0.7822 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.8819, allocations: 50.81 kB / 0.7822 GB, free: 10.86 MB / 0.5919 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.000698/0.8826, allocations: 348.1 kB / 0.7826 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.8829, allocations: 121.3 kB / 0.7827 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.8857, allocations: 1.43 MB / 0.7841 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.8857, allocations: 10.84 kB / 0.7841 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8857, allocations: 0 / 0.7841 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.8857, allocations: 10.42 kB / 0.7841 GB, free: 10.56 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 postOpt removeSimpleEquations (simulation): time 0.004336/0.89, allocations: 2.872 MB / 0.7869 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.8901, allocations: 0.9062 kB / 0.7869 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008846/0.8909, allocations: 219.2 kB / 0.7871 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/0.8914, allocations: 75.72 kB / 0.7872 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.8914, allocations: 33.22 kB / 0.7872 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.8931, allocations: 1.668 MB / 0.7889 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8932, allocations: 0 / 0.7889 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.8955, allocations: 1.324 MB / 0.7901 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006191/0.8962, allocations: 359.2 kB / 0.7905 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.8963, allocations: 28.73 kB / 0.7905 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.8972, allocations: 85.77 kB / 0.7906 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.8974, allocations: 83.45 kB / 0.7907 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.8975, allocations: 58.14 kB / 0.7907 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007914/0.8983, allocations: 0.6158 MB / 0.7913 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8983, allocations: 0.7188 kB / 0.7913 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001398/0.8997, allocations: 498.6 kB / 0.7918 GB, free: 8.066 MB / 0.5919 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.001567/0.9013, allocations: 0.7149 MB / 0.7925 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.9034, allocations: 1.151 MB / 0.7936 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9034, allocations: 0 / 0.7936 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.9044, allocations: 0.687 MB / 0.7943 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.9063, allocations: 0.5193 MB / 0.7948 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.91, allocations: 2.33 MB / 0.7971 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/0.9107, allocations: 1.209 MB / 0.7983 GB, free: 6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001246/0.912, allocations: 391.6 kB / 0.7986 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.9123, allocations: 138.8 kB / 0.7988 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/0.9123, allocations: 0 / 0.7988 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.03893/0.9513, allocations: 24.53 MB / 0.8227 GB, free: 8.695 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)