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.001573/0.001573, allocations: 94.73 kB / 19.44 MB, free: 320 kB / 13.93 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.001737/0.001737, allocations: 161.6 kB / 22.76 MB, free: 1.652 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 1.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.002657/0.002657, allocations: 230.5 kB / 259.8 MB, free: 12.84 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 1.075/1.075, allocations: 138.4 MB / 454.7 MB, free: 1.453 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 2.585e-06/2.585e-06, allocations: 0 / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.343e-05/4.602e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4749/0.475, allocations: 155.9 MB / 0.7066 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.4983, allocations: 12.02 MB / 0.7183 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.5003, allocations: 43.62 kB / 0.7183 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.5025, allocations: 480.2 kB / 0.7188 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.5071, allocations: 1.1 MB / 0.7199 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005942/0.513, allocations: 1.923 MB / 0.7218 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004367/0.5174, allocations: 2.609 MB / 0.7243 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.5202, allocations: 1.307 MB / 0.7256 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005957/0.5262, allocations: 1.972 MB / 0.7275 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.5279, allocations: 0.7398 MB / 0.7282 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.5284, allocations: 172 kB / 0.7284 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.5318, allocations: 1.302 MB / 0.7297 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0007617/0.5325, allocations: 0.5062 MB / 0.7302 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.5339, allocations: 0.604 MB / 0.7307 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.54, allocations: 2.987 MB / 0.7337 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5401, allocations: 0 / 0.7337 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5401, allocations: 0 / 0.7337 GB, free: 3.059 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.105e-05/0.5401, allocations: 4 kB / 0.7337 GB, free: 3.055 MB / 0.5417 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.005185/0.5453, allocations: 2.016 MB / 0.7356 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5454, allocations: 12.75 kB / 0.7356 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.5492, allocations: 0.6574 MB / 0.7363 GB, free: 328 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.5516, allocations: 1.002 MB / 0.7373 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5517, allocations: 102.7 kB / 0.7374 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/0.552, allocations: 144 kB / 0.7375 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.5559, allocations: 2.026 MB / 0.7395 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.556, allocations: 4 kB / 0.7395 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.5561, allocations: 56 kB / 0.7395 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.5562, allocations: 36 kB / 0.7396 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003719/0.5599, allocations: 1.54 MB / 0.7411 GB, free: 11.18 MB / 0.5573 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.008542/0.5684, allocations: 3.818 MB / 0.7448 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.5714, allocations: 1.152 MB / 0.7459 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.5724, allocations: 439.6 kB / 0.7464 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000708/0.5731, allocations: 124.8 kB / 0.7465 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/0.5752, allocations: 1.04 MB / 0.7475 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=107): time 3.557e-06/0.5752, allocations: 0 / 0.7475 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=107): time 0.005232/0.5804, allocations: 1.621 MB / 0.7491 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.5806, allocations: 192.9 kB / 0.7493 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.5821, allocations: 0.763 MB / 0.75 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.5822, allocations: 53.69 kB / 0.75 GB, free: 1.738 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007788/0.583, allocations: 0.6141 MB / 0.7506 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/0.5835, allocations: 368.8 kB / 0.751 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.5839, allocations: 214.9 kB / 0.7512 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.5841, allocations: 345.9 kB / 0.7515 GB, free: 200 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009439/0.5851, allocations: 402.4 kB / 0.7519 GB, free: 15.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.5863, allocations: 0.7464 MB / 0.7526 GB, free: 14.96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.5886, allocations: 0.9566 MB / 0.7536 GB, free: 13.97 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.5886, allocations: 0.9375 kB / 0.7536 GB, free: 13.97 MB / 0.573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003323/0.592, allocations: 1.271 MB / 0.7548 GB, free: 12.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.592, allocations: 4 kB / 0.7548 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.592, allocations: 5.797 kB / 0.7548 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.593, allocations: 136.9 kB / 0.755 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5942, allocations: 255.7 kB / 0.7552 GB, free: 12.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.5967, allocations: 1.523 MB / 0.7567 GB, free: 10.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.5979, allocations: 123.3 kB / 0.7568 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.598, allocations: 56.03 kB / 0.7569 GB, free: 10.5 MB / 0.573 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.0007864/0.5988, allocations: 339.5 kB / 0.7572 GB, free: 10.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.5992, allocations: 155.2 kB / 0.7573 GB, free: 10 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.6029, allocations: 1.422 MB / 0.7587 GB, free: 8.574 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.6029, allocations: 15.94 kB / 0.7587 GB, free: 8.559 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6029, allocations: 0 / 0.7587 GB, free: 8.559 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.6029, allocations: 3.984 kB / 0.7587 GB, free: 8.555 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 postOpt removeSimpleEquations (simulation): time 0.005773/0.6087, allocations: 2.413 MB / 0.7611 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6087, allocations: 0 / 0.7611 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6098, allocations: 219.7 kB / 0.7613 GB, free: 5.887 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007901/0.6106, allocations: 124.7 kB / 0.7614 GB, free: 5.762 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.6107, allocations: 31.98 kB / 0.7615 GB, free: 5.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.6129, allocations: 1.555 MB / 0.763 GB, free: 4.07 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.6129, allocations: 4.031 kB / 0.763 GB, free: 4.066 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/0.6162, allocations: 1.35 MB / 0.7643 GB, free: 2.695 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/0.617, allocations: 274.8 kB / 0.7646 GB, free: 2.426 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.6172, allocations: 24 kB / 0.7646 GB, free: 2.402 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.6183, allocations: 79.92 kB / 0.7647 GB, free: 2.324 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.6185, allocations: 88.83 kB / 0.7647 GB, free: 2.238 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.6187, allocations: 55.95 kB / 0.7648 GB, free: 2.184 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009398/0.6196, allocations: 0.5263 MB / 0.7653 GB, free: 1.664 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.6196, allocations: 0 / 0.7653 GB, free: 1.664 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001569/0.6212, allocations: 0.518 MB / 0.7658 GB, free: 1.145 MB / 0.573 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.002818/0.624, allocations: 0.7512 MB / 0.7666 GB, free: 0.6445 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.6267, allocations: 1.112 MB / 0.7676 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6267, allocations: 4 kB / 0.7676 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.6284, allocations: 0.6368 MB / 0.7683 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.6306, allocations: 0.4941 MB / 0.7687 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.6359, allocations: 2.416 MB / 0.7711 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.6368, allocations: 0.6283 MB / 0.7717 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001307/0.6381, allocations: 364.7 kB / 0.7721 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004439/0.6385, allocations: 140.4 kB / 0.7722 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of SimCode: time 9.92e-07/0.6385, allocations: 0 / 0.7722 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.04506/0.6836, allocations: 22.88 MB / 0.7945 GB, free: 4.332 MB / 0.6042 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1454894380876794]