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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9848/0.9848, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001687/0.001687, allocations: 237.5 kB / 260.5 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7607/0.7607, allocations: 138.4 MB / 455.4 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.555 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.566e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3802/0.3802, allocations: 173 MB / 0.724 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.3942, allocations: 13.16 MB / 0.7369 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.3953, allocations: 43.62 kB / 0.7369 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3964, allocations: 476.2 kB / 0.7374 GB, free: 2.234 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.3984, allocations: 1.103 MB / 0.7384 GB, free: 1.125 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.4016, allocations: 1.923 MB / 0.7403 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00216/0.4037, allocations: 2.597 MB / 0.7428 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.4051, allocations: 1.314 MB / 0.7441 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003042/0.4082, allocations: 1.981 MB / 0.7461 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/0.409, allocations: 0.7283 MB / 0.7468 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.4092, allocations: 176 kB / 0.7469 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002129/0.4113, allocations: 1.302 MB / 0.7482 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.4117, allocations: 0.514 MB / 0.7487 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/0.4122, allocations: 0.6079 MB / 0.7493 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.4149, allocations: 2.2 MB / 0.7515 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4149, allocations: 0 / 0.7515 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4149, allocations: 0 / 0.7515 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.4149, allocations: 4 kB / 0.7515 GB, free: 3.797 MB / 0.5573 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.002532/0.4175, allocations: 2.109 MB / 0.7535 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.4175, allocations: 12.75 kB / 0.7535 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.4201, allocations: 0.634 MB / 0.7542 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.4214, allocations: 0.9979 MB / 0.7551 GB, free: 15.95 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.75e-05/0.4215, allocations: 106.7 kB / 0.7552 GB, free: 15.85 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.4216, allocations: 140 kB / 0.7554 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.4236, allocations: 1.68 MB / 0.757 GB, free: 13.81 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.4236, allocations: 3.938 kB / 0.757 GB, free: 13.81 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.4237, allocations: 64 kB / 0.7571 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.4237, allocations: 33 kB / 0.7571 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4254, allocations: 1.03 MB / 0.7581 GB, free: 12.68 MB / 0.573 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.004677/0.4301, allocations: 4.079 MB / 0.7621 GB, free: 8.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.4315, allocations: 0.7388 MB / 0.7628 GB, free: 7.766 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.4319, allocations: 246.5 kB / 0.763 GB, free: 7.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/0.4324, allocations: 120.8 kB / 0.7632 GB, free: 7.402 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00086/0.4332, allocations: 0.8602 MB / 0.764 GB, free: 6.434 MB / 0.573 GB Notification: Performance of pre-optimization done (n=107): time 2.635e-06/0.4332, allocations: 0 / 0.764 GB, free: 6.434 MB / 0.573 GB Notification: Performance of matching and sorting (n=107): time 0.002505/0.4358, allocations: 1.069 MB / 0.765 GB, free: 5.355 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.4358, allocations: 196.9 kB / 0.7652 GB, free: 5.117 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007445/0.4366, allocations: 0.7219 MB / 0.7659 GB, free: 4.383 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.4367, allocations: 49.7 kB / 0.766 GB, free: 4.328 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004029/0.4371, allocations: 0.6559 MB / 0.7666 GB, free: 3.664 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.4373, allocations: 372.8 kB / 0.767 GB, free: 3.297 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.4376, allocations: 224.5 kB / 0.7672 GB, free: 3.07 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4377, allocations: 0.5199 MB / 0.7677 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.4381, allocations: 182.5 kB / 0.7679 GB, free: 2.363 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.4387, allocations: 0.5911 MB / 0.7685 GB, free: 1.66 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/0.4397, allocations: 0.5892 MB / 0.769 GB, free: 1.016 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4397, allocations: 0 / 0.769 GB, free: 1.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001648/0.4413, allocations: 0.8711 MB / 0.7699 GB, free: 136 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4413, allocations: 4.406 kB / 0.7699 GB, free: 132 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4414, allocations: 4 kB / 0.7699 GB, free: 128 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006946/0.4421, allocations: 135.6 kB / 0.77 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.4428, allocations: 251.6 kB / 0.7703 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.4443, allocations: 1.909 MB / 0.7721 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.4449, allocations: 101.2 kB / 0.7722 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/0.4449, allocations: 59.95 kB / 0.7723 GB, free: 13.55 MB / 0.5886 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.0002977/0.4452, allocations: 222.3 kB / 0.7725 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.4455, allocations: 151.2 kB / 0.7726 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.4474, allocations: 1.051 MB / 0.7737 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4474, allocations: 15.98 kB / 0.7737 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4474, allocations: 0 / 0.7737 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.4474, allocations: 3.984 kB / 0.7737 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.45, allocations: 2.004 MB / 0.7756 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.45, allocations: 0 / 0.7756 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.4505, allocations: 215.7 kB / 0.7758 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003582/0.4508, allocations: 123.6 kB / 0.776 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.4509, allocations: 23.98 kB / 0.776 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002767/0.4536, allocations: 1.936 MB / 0.7779 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4536, allocations: 0 / 0.7779 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.4563, allocations: 1.04 MB / 0.7789 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.457, allocations: 270.7 kB / 0.7791 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/0.4572, allocations: 27.98 kB / 0.7792 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.4579, allocations: 55.95 kB / 0.7792 GB, free: 6.219 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.4581, allocations: 88.97 kB / 0.7793 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.4582, allocations: 47.97 kB / 0.7794 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007669/0.459, allocations: 478.9 kB / 0.7798 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.459, allocations: 0 / 0.7798 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001632/0.4606, allocations: 0.5181 MB / 0.7803 GB, free: 5.105 MB / 0.5886 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.002088/0.4627, allocations: 0.7232 MB / 0.781 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.4642, allocations: 0.8235 MB / 0.7818 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4642, allocations: 0 / 0.7818 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.4649, allocations: 0.5563 MB / 0.7824 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.466, allocations: 0.4957 MB / 0.7829 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.4694, allocations: 2.164 MB / 0.785 GB, free: 0.5156 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4696, allocations: 268.1 kB / 0.7852 GB, free: 236 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008393/0.4704, allocations: 352.6 kB / 0.7856 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.4707, allocations: 140.4 kB / 0.7857 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of SimCode: time 1.362e-06/0.4707, allocations: 0 / 0.7857 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of Templates: time 0.03269/0.5034, allocations: 22.93 MB / 0.8081 GB, free: 9.219 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.877998630981892]