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.00244/0.00244, allocations: 85.48 kB / 19.44 MB, free: 344 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.00268/0.00268, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.651/1.651, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.003321/0.003321, allocations: 241.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.171/1.171, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.264e-06/2.264e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.008e-05/4.234e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4453/0.4453, allocations: 173 MB / 0.7232 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.4679, allocations: 13.12 MB / 0.736 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.4692, allocations: 43.62 kB / 0.7361 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.4705, allocations: 480.2 kB / 0.7365 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.4736, allocations: 1.105 MB / 0.7376 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004958/0.4785, allocations: 1.927 MB / 0.7395 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.4821, allocations: 2.616 MB / 0.7421 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.4844, allocations: 1.299 MB / 0.7433 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00534/0.4897, allocations: 1.976 MB / 0.7453 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.491, allocations: 0.7283 MB / 0.746 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.4913, allocations: 176 kB / 0.7461 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.4944, allocations: 1.302 MB / 0.7474 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0006163/0.495, allocations: 0.5179 MB / 0.7479 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009301/0.4959, allocations: 0.6041 MB / 0.7485 GB, free: 6.051 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005138/0.501, allocations: 2.983 MB / 0.7514 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.501, allocations: 0 / 0.7514 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.501, allocations: 0 / 0.7514 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.039e-05/0.5011, allocations: 0 / 0.7514 GB, free: 3.059 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.004306/0.5054, allocations: 2.245 MB / 0.7536 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5054, allocations: 16.75 kB / 0.7536 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.5089, allocations: 0.6379 MB / 0.7542 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002411/0.5114, allocations: 0.9895 MB / 0.7552 GB, free: 15.08 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.5115, allocations: 102.7 kB / 0.7553 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.5117, allocations: 148 kB / 0.7554 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.5152, allocations: 2.004 MB / 0.7574 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.5152, allocations: 0 / 0.7574 GB, free: 12.61 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.5154, allocations: 60 kB / 0.7575 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.5154, allocations: 32 kB / 0.7575 GB, free: 12.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.5183, allocations: 1.372 MB / 0.7588 GB, free: 11.14 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.00905/0.5274, allocations: 5.083 MB / 0.7638 GB, free: 5.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.5298, allocations: 1.016 MB / 0.7648 GB, free: 4.906 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008081/0.5306, allocations: 382.5 kB / 0.7652 GB, free: 4.523 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/0.5312, allocations: 116.8 kB / 0.7653 GB, free: 4.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.5328, allocations: 1.024 MB / 0.7663 GB, free: 3.281 MB / 0.573 GB Notification: Performance of pre-optimization done (n=107): time 2.635e-06/0.5328, allocations: 0 / 0.7663 GB, free: 3.281 MB / 0.573 GB Notification: Performance of matching and sorting (n=107): time 0.004396/0.5372, allocations: 1.409 MB / 0.7676 GB, free: 1.859 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.5373, allocations: 196.9 kB / 0.7678 GB, free: 1.625 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.5388, allocations: 0.9485 MB / 0.7688 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5389, allocations: 49.7 kB / 0.7688 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007098/0.5396, allocations: 0.7106 MB / 0.7695 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.54, allocations: 396.8 kB / 0.7699 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/0.5405, allocations: 268.5 kB / 0.7701 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003272/0.5408, allocations: 0.5433 MB / 0.7707 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.5415, allocations: 314.5 kB / 0.771 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.5427, allocations: 0.7488 MB / 0.7717 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.5445, allocations: 0.8587 MB / 0.7725 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5445, allocations: 3.062 kB / 0.7725 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00285/0.5473, allocations: 1.113 MB / 0.7736 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5473, allocations: 4 kB / 0.7736 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5474, allocations: 4.406 kB / 0.7736 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.5484, allocations: 147.5 kB / 0.7738 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5496, allocations: 251.6 kB / 0.774 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/0.5524, allocations: 2.043 MB / 0.776 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.5534, allocations: 111.4 kB / 0.7761 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.5536, allocations: 47.97 kB / 0.7762 GB, free: 8.738 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.0007334/0.5543, allocations: 326.5 kB / 0.7765 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.5546, allocations: 155.2 kB / 0.7766 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.5579, allocations: 1.281 MB / 0.7779 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.5579, allocations: 8 kB / 0.7779 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5579, allocations: 4 kB / 0.7779 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.5579, allocations: 7.969 kB / 0.7779 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005487/0.5634, allocations: 2.526 MB / 0.7804 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.5634, allocations: 8 kB / 0.7804 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.5645, allocations: 211.7 kB / 0.7806 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008124/0.5653, allocations: 131.5 kB / 0.7807 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/0.5654, allocations: 27.98 kB / 0.7807 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/0.5681, allocations: 2.078 MB / 0.7827 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-06/0.5681, allocations: 4.031 kB / 0.7827 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.5711, allocations: 1.298 MB / 0.784 GB, free: 488 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/0.5718, allocations: 274.8 kB / 0.7843 GB, free: 212 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.572, allocations: 24 kB / 0.7843 GB, free: 188 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007814/0.5727, allocations: 51.95 kB / 0.7844 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.573, allocations: 92.83 kB / 0.7844 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.5731, allocations: 56.03 kB / 0.7845 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008975/0.574, allocations: 0.5849 MB / 0.7851 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.574, allocations: 0 / 0.7851 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00152/0.5755, allocations: 0.5297 MB / 0.7856 GB, free: 14.87 MB / 0.6042 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.003755/0.5793, allocations: 0.7463 MB / 0.7863 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002527/0.5818, allocations: 1.097 MB / 0.7874 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.5818, allocations: 0 / 0.7874 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.5832, allocations: 0.6968 MB / 0.7881 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.5855, allocations: 0.4992 MB / 0.7885 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.5904, allocations: 2.322 MB / 0.7908 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.5911, allocations: 0.6087 MB / 0.7914 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001307/0.5924, allocations: 344.7 kB / 0.7917 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/0.5928, allocations: 140.4 kB / 0.7919 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of SimCode: time 1.393e-06/0.5928, allocations: 0 / 0.7919 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of Templates: time 0.04423/0.6371, allocations: 22.9 MB / 0.8142 GB, free: 2.113 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: 7.605192951974459]