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.001861/0.001861, allocations: 81.5 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.002174/0.002174, 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.327/1.327, allocations: 154.8 MB / 414.4 MB, free: 480 kB / 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 178] 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 5.55e-06/5.55e-06, allocations: 4 kB / 0.5198 GB, free: 2.352 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.986e-05, allocations: 4.281 kB / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5576/0.5577, allocations: 173 MB / 0.6888 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.5725, allocations: 13.13 MB / 0.7016 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.5739, allocations: 44.28 kB / 0.7017 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.5752, allocations: 484.6 kB / 0.7021 GB, free: 47.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.5784, allocations: 1.088 MB / 0.7032 GB, free: 47.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.5829, allocations: 1.934 MB / 0.7051 GB, free: 46.95 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.586, allocations: 2.594 MB / 0.7076 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.5878, allocations: 1.316 MB / 0.7089 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.5928, allocations: 2.124 MB / 0.711 GB, free: 46.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.5938, allocations: 0.7197 MB / 0.7117 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.5941, allocations: 175.9 kB / 0.7118 GB, free: 46.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.5968, allocations: 1.3 MB / 0.7131 GB, free: 46.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004116/0.5972, allocations: 0.5013 MB / 0.7136 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006731/0.5979, allocations: 0.6071 MB / 0.7142 GB, free: 46.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004387/0.6023, allocations: 2.987 MB / 0.7171 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6023, allocations: 7.031 kB / 0.7171 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6023, allocations: 0.7188 kB / 0.7171 GB, free: 45.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.222e-05/0.6023, allocations: 0 / 0.7171 GB, free: 45.74 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.003687/0.606, allocations: 2.239 MB / 0.7193 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.6061, allocations: 8.875 kB / 0.7193 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.6096, allocations: 0.6469 MB / 0.7199 GB, free: 44.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.6119, allocations: 0.9933 MB / 0.7209 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.6121, allocations: 102.8 kB / 0.721 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.6123, allocations: 141.4 kB / 0.7211 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.615, allocations: 2.008 MB / 0.7231 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.615, allocations: 1.844 kB / 0.7231 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.6151, allocations: 58.88 kB / 0.7232 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.6152, allocations: 34.28 kB / 0.7232 GB, free: 43.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.6177, allocations: 1.371 MB / 0.7245 GB, free: 43.22 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.007364/0.6251, allocations: 5.095 MB / 0.7295 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.6272, allocations: 0.998 MB / 0.7305 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007267/0.628, allocations: 383.1 kB / 0.7308 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/0.6285, allocations: 109 kB / 0.7309 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.6298, allocations: 1.032 MB / 0.732 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 2.585e-06/0.6298, allocations: 0 / 0.732 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.004113/0.6339, allocations: 1.416 MB / 0.7333 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.634, allocations: 200 kB / 0.7335 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.6352, allocations: 0.9475 MB / 0.7345 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.6353, allocations: 50.62 kB / 0.7345 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.636, allocations: 0.7056 MB / 0.7352 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.6362, allocations: 398.5 kB / 0.7356 GB, free: 39.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.6366, allocations: 258 kB / 0.7358 GB, free: 39.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6367, allocations: 0.5467 MB / 0.7363 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.6373, allocations: 313.5 kB / 0.7366 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008113/0.6381, allocations: 0.7529 MB / 0.7374 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.6394, allocations: 0.8572 MB / 0.7382 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6394, allocations: 1 kB / 0.7382 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002384/0.6418, allocations: 1.12 MB / 0.7393 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6418, allocations: 5.562 kB / 0.7393 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6419, allocations: 4.844 kB / 0.7393 GB, free: 38.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009544/0.6428, allocations: 148.7 kB / 0.7395 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.6438, allocations: 250.7 kB / 0.7397 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.6456, allocations: 2.049 MB / 0.7417 GB, free: 36.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008845/0.6465, allocations: 103.2 kB / 0.7418 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.6466, allocations: 52.81 kB / 0.7419 GB, free: 36.23 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.000528/0.6471, allocations: 334.1 kB / 0.7422 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.6474, allocations: 146.8 kB / 0.7423 GB, free: 36.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.6502, allocations: 1.284 MB / 0.7436 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6502, allocations: 19.28 kB / 0.7436 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6502, allocations: 0.8438 kB / 0.7436 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6502, allocations: 6.422 kB / 0.7436 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.6543, allocations: 2.519 MB / 0.7461 GB, free: 34.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.6543, allocations: 4 kB / 0.7461 GB, free: 34.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.6552, allocations: 217.4 kB / 0.7463 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007105/0.6559, allocations: 125.3 kB / 0.7464 GB, free: 34.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.656, allocations: 36.98 kB / 0.7464 GB, free: 34.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/0.6575, allocations: 2.071 MB / 0.7484 GB, free: 32.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6575, allocations: 1 kB / 0.7484 GB, free: 32.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.6598, allocations: 1.298 MB / 0.7497 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/0.6604, allocations: 265.5 kB / 0.75 GB, free: 31.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6605, allocations: 24.78 kB / 0.75 GB, free: 31.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.6613, allocations: 55.36 kB / 0.75 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.6615, allocations: 90.77 kB / 0.7501 GB, free: 31.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.984e-05/0.6616, allocations: 56.5 kB / 0.7502 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006207/0.6622, allocations: 0.5875 MB / 0.7508 GB, free: 31.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.6622, allocations: 1.094 kB / 0.7508 GB, free: 31.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001267/0.6635, allocations: 0.5243 MB / 0.7513 GB, free: 31.45 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.003314/0.6668, allocations: 0.7393 MB / 0.752 GB, free: 31.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.6687, allocations: 1.092 MB / 0.7531 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6687, allocations: 0 / 0.7531 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009986/0.6697, allocations: 0.7016 MB / 0.7537 GB, free: 30.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6717, allocations: 0.4906 MB / 0.7542 GB, free: 30.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.6752, allocations: 2.325 MB / 0.7565 GB, free: 29.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.6757, allocations: 0.6164 MB / 0.7571 GB, free: 29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001184/0.6769, allocations: 350 kB / 0.7574 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.6772, allocations: 150.4 kB / 0.7576 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of SimCode: time 1.062e-06/0.6772, allocations: 0 / 0.7576 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.03393/0.7112, allocations: 22.85 MB / 0.7799 GB, free: 24.93 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: 7.589759444002993]