Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001003/0.001003, 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.0009173/0.0009173, 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.9127/0.9127, allocations: 177.1 MB / 203.8 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.746/0.746, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5206 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.798e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4937/0.4937, allocations: 173.1 MB / 0.6896 GB, free: 47.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.5066, allocations: 13.16 MB / 0.7024 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.5077, allocations: 42.06 kB / 0.7025 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5088, allocations: 478.7 kB / 0.7029 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00296/0.5118, allocations: 1.091 MB / 0.704 GB, free: 47.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004026/0.5158, allocations: 1.936 MB / 0.7059 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.5188, allocations: 2.6 MB / 0.7084 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.5206, allocations: 1.312 MB / 0.7097 GB, free: 46.6 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.5245, allocations: 2.129 MB / 0.7118 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000947/0.5255, allocations: 0.7222 MB / 0.7125 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003238/0.5258, allocations: 171.5 kB / 0.7127 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.5281, allocations: 1.292 MB / 0.7139 GB, free: 46.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.5284, allocations: 0.5066 MB / 0.7144 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008017/0.5292, allocations: 0.6092 MB / 0.715 GB, free: 46.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.5326, allocations: 2.206 MB / 0.7172 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5326, allocations: 0 / 0.7172 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5326, allocations: 3.812 kB / 0.7172 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.477e-05/0.5327, allocations: 0 / 0.7172 GB, free: 45.82 MB / 0.6355 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.002674/0.5353, allocations: 2.104 MB / 0.7192 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.5354, allocations: 11.97 kB / 0.7192 GB, free: 44.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/0.5375, allocations: 0.6494 MB / 0.7199 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.539, allocations: 0.9879 MB / 0.7208 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5391, allocations: 98.91 kB / 0.7209 GB, free: 44.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.5393, allocations: 144.6 kB / 0.7211 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.5413, allocations: 1.695 MB / 0.7227 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.5413, allocations: 1.188 kB / 0.7227 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.863e-05/0.5414, allocations: 62.94 kB / 0.7228 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.5415, allocations: 34.12 kB / 0.7228 GB, free: 43.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.543, allocations: 1.032 MB / 0.7238 GB, free: 43.27 MB / 0.6355 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.004499/0.5475, allocations: 4.082 MB / 0.7278 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.5487, allocations: 0.731 MB / 0.7285 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.5491, allocations: 251.6 kB / 0.7288 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.5495, allocations: 112 kB / 0.7289 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008106/0.5503, allocations: 0.8549 MB / 0.7297 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.857e-06/0.5503, allocations: 0 / 0.7297 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.002377/0.5527, allocations: 1.074 MB / 0.7308 GB, free: 40.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.5527, allocations: 197 kB / 0.7309 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/0.5535, allocations: 0.7204 MB / 0.7317 GB, free: 40.26 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.5536, allocations: 52.34 kB / 0.7317 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.554, allocations: 0.6624 MB / 0.7323 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.5542, allocations: 371.3 kB / 0.7327 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/0.5545, allocations: 217.3 kB / 0.7329 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.5546, allocations: 0.5177 MB / 0.7334 GB, free: 39.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.555, allocations: 187 kB / 0.7336 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.5555, allocations: 0.5833 MB / 0.7342 GB, free: 38.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.5562, allocations: 0.599 MB / 0.7347 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5562, allocations: 2.219 kB / 0.7347 GB, free: 38.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001649/0.5579, allocations: 0.8779 MB / 0.7356 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5579, allocations: 5.812 kB / 0.7356 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5579, allocations: 5.281 kB / 0.7356 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.5584, allocations: 132.5 kB / 0.7357 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.5591, allocations: 248.6 kB / 0.736 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.5603, allocations: 1.912 MB / 0.7378 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/0.5609, allocations: 103.2 kB / 0.7379 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.381e-05/0.561, allocations: 53.23 kB / 0.738 GB, free: 36.58 MB / 0.6355 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.0004997/0.5615, allocations: 228.1 kB / 0.7382 GB, free: 36.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/0.5617, allocations: 149.1 kB / 0.7384 GB, free: 36.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.5634, allocations: 1.047 MB / 0.7394 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5634, allocations: 16.25 kB / 0.7394 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5634, allocations: 0 / 0.7394 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.5634, allocations: 7 kB / 0.7394 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.5662, allocations: 2.005 MB / 0.7414 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5662, allocations: 3.984 kB / 0.7414 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.5668, allocations: 217.5 kB / 0.7416 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/0.5671, allocations: 116.2 kB / 0.7417 GB, free: 35.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.5672, allocations: 32.69 kB / 0.7417 GB, free: 35.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009652/0.5681, allocations: 1.921 MB / 0.7436 GB, free: 34.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5681, allocations: 3.125 kB / 0.7436 GB, free: 34.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.5694, allocations: 1.04 MB / 0.7446 GB, free: 33.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.5698, allocations: 269.4 kB / 0.7449 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5699, allocations: 21.12 kB / 0.7449 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/0.5703, allocations: 60.62 kB / 0.7449 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.5704, allocations: 84.2 kB / 0.745 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.5705, allocations: 53.09 kB / 0.7451 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003928/0.5709, allocations: 477.1 kB / 0.7455 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5709, allocations: 0 / 0.7455 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001058/0.5719, allocations: 0.523 MB / 0.746 GB, free: 33.46 MB / 0.6355 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.001555/0.5735, allocations: 0.716 MB / 0.7467 GB, free: 33.29 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.5748, allocations: 0.8218 MB / 0.7475 GB, free: 33.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5748, allocations: 3.375 kB / 0.7475 GB, free: 33.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.5753, allocations: 0.5593 MB / 0.7481 GB, free: 32.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.5765, allocations: 494.8 kB / 0.7486 GB, free: 32.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.5799, allocations: 2.163 MB / 0.7507 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.5801, allocations: 273.2 kB / 0.7509 GB, free: 31.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009864/0.5811, allocations: 358.1 kB / 0.7513 GB, free: 31.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.5813, allocations: 137.7 kB / 0.7514 GB, free: 31.69 MB / 0.6355 GB Notification: Performance of SimCode: time 2.154e-06/0.5813, allocations: 0 / 0.7514 GB, free: 31.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.02646/0.6078, allocations: 22.89 MB / 0.7738 GB, free: 28.29 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.916356694884598]