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.001572/0.001572, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001213/0.001213, allocations: 169 kB / 23.27 MB, free: 1.223 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.001/1.001, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7616/0.7616, allocations: 154.9 MB / 415.1 MB, free: 248 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 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.273e-06/1.273e-06, allocations: 0 / 0.5211 GB, free: 1.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.109e-05, allocations: 3.406 kB / 0.5211 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1316/0.1316, allocations: 147.4 MB / 0.6651 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.144, allocations: 11.1 MB / 0.6759 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.1455, allocations: 43.62 kB / 0.6759 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009552/0.1465, allocations: 349 kB / 0.6763 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.1493, allocations: 1.099 MB / 0.6773 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.3039/0.4532, allocations: 1.486 MB / 0.6788 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003197/0.4564, allocations: 2.577 MB / 0.6813 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.4583, allocations: 1.308 MB / 0.6826 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.462, allocations: 1.701 MB / 0.6843 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.4633, allocations: 0.6901 MB / 0.6849 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004402/0.4637, allocations: 164.5 kB / 0.6851 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.4658, allocations: 0.9361 MB / 0.686 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.4662, allocations: 0.4898 MB / 0.6865 GB, free: 48.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008327/0.4671, allocations: 0.5932 MB / 0.6871 GB, free: 48.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.4703, allocations: 1.991 MB / 0.689 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4704, allocations: 0 / 0.689 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4704, allocations: 1.594 kB / 0.689 GB, free: 48.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.103e-05/0.4704, allocations: 2.875 kB / 0.689 GB, free: 48.39 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.002708/0.4731, allocations: 2.091 MB / 0.691 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4732, allocations: 8.719 kB / 0.6911 GB, free: 47.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.475, allocations: 0.6366 MB / 0.6917 GB, free: 47.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4762, allocations: 0.9772 MB / 0.6926 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.4763, allocations: 103.8 kB / 0.6927 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.4764, allocations: 136.6 kB / 0.6929 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.4776, allocations: 1.525 MB / 0.6944 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.4776, allocations: 4.062 kB / 0.6944 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.4777, allocations: 59.34 kB / 0.6944 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.4777, allocations: 33.44 kB / 0.6944 GB, free: 45.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.4787, allocations: 0.875 MB / 0.6953 GB, free: 45.91 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.003815/0.4825, allocations: 3.87 MB / 0.6991 GB, free: 44.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.4833, allocations: 0.6546 MB / 0.6997 GB, free: 44.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.4835, allocations: 221.2 kB / 0.6999 GB, free: 44.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.4838, allocations: 124.8 kB / 0.7 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.4843, allocations: 0.8107 MB / 0.7008 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 4.268e-06/0.4843, allocations: 0.9375 kB / 0.7008 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.001656/0.486, allocations: 0.9588 MB / 0.7018 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.486, allocations: 192 kB / 0.702 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.4865, allocations: 0.6994 MB / 0.7026 GB, free: 42.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.4866, allocations: 49.05 kB / 0.7027 GB, free: 42.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.4869, allocations: 0.6663 MB / 0.7033 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.4871, allocations: 376.6 kB / 0.7037 GB, free: 42.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.4873, allocations: 220.5 kB / 0.7039 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.4874, allocations: 0.526 MB / 0.7044 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.4876, allocations: 142.3 kB / 0.7046 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.4878, allocations: 487.9 kB / 0.705 GB, free: 41.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/0.4883, allocations: 0.519 MB / 0.7055 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4883, allocations: 0 / 0.7055 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001067/0.4894, allocations: 0.7845 MB / 0.7063 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4894, allocations: 5.25 kB / 0.7063 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4894, allocations: 10.45 kB / 0.7063 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.4899, allocations: 131.4 kB / 0.7064 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.4904, allocations: 250.6 kB / 0.7067 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.4917, allocations: 1.89 MB / 0.7085 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.4923, allocations: 98.83 kB / 0.7086 GB, free: 39.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.4923, allocations: 41.89 kB / 0.7087 GB, free: 39.35 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0004368/0.4927, allocations: 230.4 kB / 0.7089 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.4929, allocations: 153.2 kB / 0.709 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.4942, allocations: 0.955 MB / 0.71 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4942, allocations: 13.25 kB / 0.71 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4942, allocations: 4.359 kB / 0.71 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4942, allocations: 3.375 kB / 0.71 GB, free: 39.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.4966, allocations: 1.728 MB / 0.7117 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4966, allocations: 4.969 kB / 0.7117 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.4971, allocations: 212.2 kB / 0.7119 GB, free: 38.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.4975, allocations: 120.8 kB / 0.712 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.4976, allocations: 33.31 kB / 0.712 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.4986, allocations: 1.883 MB / 0.7139 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4986, allocations: 4.344 kB / 0.7139 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5002, allocations: 0.9615 MB / 0.7148 GB, free: 36.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003941/0.5006, allocations: 262 kB / 0.715 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.5008, allocations: 23.72 kB / 0.7151 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.5011, allocations: 48.22 kB / 0.7151 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.5013, allocations: 90.08 kB / 0.7152 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.5013, allocations: 41.95 kB / 0.7152 GB, free: 36.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003885/0.5017, allocations: 436.3 kB / 0.7157 GB, free: 36.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5017, allocations: 2.156 kB / 0.7157 GB, free: 36.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001396/0.5031, allocations: 0.511 MB / 0.7162 GB, free: 36.29 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.001536/0.5047, allocations: 0.7003 MB / 0.7168 GB, free: 36.11 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001187/0.5058, allocations: 0.7386 MB / 0.7176 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.5059, allocations: 1.094 kB / 0.7176 GB, free: 35.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.5064, allocations: 0.5133 MB / 0.7181 GB, free: 35.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.5077, allocations: 487.5 kB / 0.7185 GB, free: 35.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.5115, allocations: 2.137 MB / 0.7206 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5117, allocations: 274.8 kB / 0.7209 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009794/0.5127, allocations: 268.9 kB / 0.7211 GB, free: 34.54 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.5138, allocations: 0.5313 MB / 0.7217 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of SimCode: time 2.475e-06/0.5138, allocations: 0 / 0.7217 GB, free: 34.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.03436/0.5481, allocations: 24.46 MB / 0.7455 GB, free: 32 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.870549771934748]