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.0009185/0.0009185, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009467/0.0009467, allocations: 165 kB / 23.02 MB, free: 1.547 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.9088/0.9088, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7529/0.7529, allocations: 154.8 MB / 414.7 MB, free: 488 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.623e-06/1.623e-06, allocations: 0 / 0.5205 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.006e-05, allocations: 6.625 kB / 0.5206 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1638/0.1639, allocations: 150.2 MB / 0.6673 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.1772, allocations: 11.25 MB / 0.6783 GB, free: 100 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007945/0.178, allocations: 39.69 kB / 0.6783 GB, free: 60 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.2663/0.4443, allocations: 348.1 kB / 0.6786 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.4473, allocations: 1.072 MB / 0.6797 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.4504, allocations: 1.5 MB / 0.6811 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.4533, allocations: 2.583 MB / 0.6837 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.4549, allocations: 1.311 MB / 0.6849 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.4578, allocations: 1.66 MB / 0.6866 GB, free: 47.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009935/0.4587, allocations: 0.7199 MB / 0.6873 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003799/0.4591, allocations: 173.6 kB / 0.6874 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.4611, allocations: 0.9529 MB / 0.6884 GB, free: 47.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.4614, allocations: 0.5065 MB / 0.6889 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006969/0.4621, allocations: 0.6095 MB / 0.6894 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.4649, allocations: 2.023 MB / 0.6914 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4649, allocations: 0 / 0.6914 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4649, allocations: 0 / 0.6914 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.242e-05/0.465, allocations: 0 / 0.6914 GB, free: 47.03 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.002731/0.4677, allocations: 2.086 MB / 0.6935 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4677, allocations: 10.53 kB / 0.6935 GB, free: 45.95 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002465/0.4702, allocations: 0.6427 MB / 0.6941 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.4718, allocations: 0.9923 MB / 0.6951 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.4718, allocations: 101.1 kB / 0.6952 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.472, allocations: 142.4 kB / 0.6953 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4738, allocations: 1.683 MB / 0.6969 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.4739, allocations: 5.562 kB / 0.6969 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.474, allocations: 60.75 kB / 0.697 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.474, allocations: 37 kB / 0.697 GB, free: 44.53 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.4755, allocations: 1.032 MB / 0.6981 GB, free: 44.51 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.004645/0.4802, allocations: 4.073 MB / 0.702 GB, free: 42.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.4816, allocations: 0.7419 MB / 0.7028 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.482, allocations: 254.2 kB / 0.703 GB, free: 42.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.4824, allocations: 91.06 kB / 0.7031 GB, free: 42.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/0.4831, allocations: 0.8536 MB / 0.7039 GB, free: 42.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.607e-06/0.4831, allocations: 0 / 0.7039 GB, free: 42.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.002392/0.4855, allocations: 1.073 MB / 0.705 GB, free: 41.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4856, allocations: 197.9 kB / 0.7052 GB, free: 41.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.4863, allocations: 0.7233 MB / 0.7059 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.4863, allocations: 47.2 kB / 0.7059 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.4866, allocations: 0.6668 MB / 0.7066 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4868, allocations: 372.9 kB / 0.7069 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.4871, allocations: 215.8 kB / 0.7071 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.4871, allocations: 0.5225 MB / 0.7076 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.4875, allocations: 183.5 kB / 0.7078 GB, free: 40.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.488, allocations: 0.5832 MB / 0.7084 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.4889, allocations: 0.5938 MB / 0.709 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4889, allocations: 0 / 0.709 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001587/0.4905, allocations: 0.8739 MB / 0.7098 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4905, allocations: 12.81 kB / 0.7098 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4905, allocations: 3.094 kB / 0.7098 GB, free: 39.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.491, allocations: 137.3 kB / 0.7099 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.4918, allocations: 252.9 kB / 0.7102 GB, free: 39.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.4931, allocations: 1.908 MB / 0.7121 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.4937, allocations: 101.7 kB / 0.7122 GB, free: 37.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.4938, allocations: 52.91 kB / 0.7122 GB, free: 37.83 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.0004022/0.4942, allocations: 230.9 kB / 0.7124 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.4944, allocations: 150.2 kB / 0.7126 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.4965, allocations: 1.041 MB / 0.7136 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.4965, allocations: 11.84 kB / 0.7136 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4965, allocations: 1.406 kB / 0.7136 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.4965, allocations: 10.97 kB / 0.7136 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.4998, allocations: 1.993 MB / 0.7156 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4998, allocations: 0 / 0.7156 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006883/0.5005, allocations: 210.6 kB / 0.7158 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/0.501, allocations: 121 kB / 0.7159 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/0.501, allocations: 38 kB / 0.7159 GB, free: 37.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.5022, allocations: 1.917 MB / 0.7178 GB, free: 35.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5022, allocations: 4.969 kB / 0.7178 GB, free: 35.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.5042, allocations: 1.036 MB / 0.7188 GB, free: 35.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.5047, allocations: 282 kB / 0.7191 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5048, allocations: 20.31 kB / 0.7191 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.5054, allocations: 61.47 kB / 0.7191 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.5055, allocations: 87.33 kB / 0.7192 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5056, allocations: 52.97 kB / 0.7193 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005953/0.5062, allocations: 477.4 kB / 0.7197 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5062, allocations: 1.062 kB / 0.7197 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001521/0.5078, allocations: 0.5123 MB / 0.7202 GB, free: 34.73 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.001794/0.5096, allocations: 0.6989 MB / 0.7209 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.5111, allocations: 0.8302 MB / 0.7217 GB, free: 34.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5111, allocations: 1.031 kB / 0.7217 GB, free: 34.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.5119, allocations: 0.5534 MB / 0.7223 GB, free: 34.15 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.5135, allocations: 0.4967 MB / 0.7228 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/0.5179, allocations: 2.158 MB / 0.7249 GB, free: 33.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.5181, allocations: 271 kB / 0.7251 GB, free: 33.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001205/0.5193, allocations: 346.5 kB / 0.7254 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.5197, allocations: 139 kB / 0.7256 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.603e-06/0.5197, allocations: 2.281 kB / 0.7256 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.02869/0.5484, allocations: 22.63 MB / 0.7477 GB, free: 30.58 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.967281076125801]