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.0008095/0.0008095, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0008847/0.0008847, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9672/0.9672, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8205/0.8205, allocations: 154.9 MB / 415.9 MB, free: 260 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.613e-06/1.613e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.329e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1327/0.1327, allocations: 147.4 MB / 0.6658 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.1446, allocations: 11.09 MB / 0.6767 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1456, allocations: 43.62 kB / 0.6767 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008798/0.1465, allocations: 349 kB / 0.677 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.149, allocations: 1.103 MB / 0.6781 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.2972/0.4462, allocations: 1.485 MB / 0.6796 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.4493, allocations: 2.573 MB / 0.6821 GB, free: 48.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.4513, allocations: 1.317 MB / 0.6834 GB, free: 48.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.4549, allocations: 1.695 MB / 0.685 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.4562, allocations: 0.6842 MB / 0.6857 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004147/0.4566, allocations: 161.7 kB / 0.6858 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.4587, allocations: 0.941 MB / 0.6868 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004575/0.4592, allocations: 0.4935 MB / 0.6872 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007519/0.4599, allocations: 0.5852 MB / 0.6878 GB, free: 48.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.4633, allocations: 2.001 MB / 0.6898 GB, free: 48.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4633, allocations: 0 / 0.6898 GB, free: 48.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4633, allocations: 1.438 kB / 0.6898 GB, free: 48.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.272e-05/0.4633, allocations: 0 / 0.6898 GB, free: 48.46 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.002399/0.4657, allocations: 2.085 MB / 0.6918 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4658, allocations: 10.66 kB / 0.6918 GB, free: 47.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.4675, allocations: 0.6378 MB / 0.6924 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.4686, allocations: 0.9749 MB / 0.6934 GB, free: 46.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.4687, allocations: 103.7 kB / 0.6935 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.4688, allocations: 145.8 kB / 0.6936 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.47, allocations: 1.52 MB / 0.6951 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.47, allocations: 0.8438 kB / 0.6951 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.4701, allocations: 65.42 kB / 0.6952 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4701, allocations: 35.44 kB / 0.6952 GB, free: 46.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.471, allocations: 0.8714 MB / 0.6961 GB, free: 46 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.003567/0.4746, allocations: 3.861 MB / 0.6998 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.4755, allocations: 0.658 MB / 0.7005 GB, free: 44.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.4757, allocations: 212.6 kB / 0.7007 GB, free: 44.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.476, allocations: 107.2 kB / 0.7008 GB, free: 44.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/0.4766, allocations: 0.8119 MB / 0.7016 GB, free: 43.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 3.076e-06/0.4766, allocations: 0.9062 kB / 0.7016 GB, free: 43.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.001946/0.4786, allocations: 0.9558 MB / 0.7025 GB, free: 43.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.4786, allocations: 195.7 kB / 0.7027 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.4792, allocations: 0.699 MB / 0.7034 GB, free: 43.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.267e-05/0.4792, allocations: 45.36 kB / 0.7034 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.4795, allocations: 0.6692 MB / 0.7041 GB, free: 42.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4797, allocations: 372.9 kB / 0.7044 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.4799, allocations: 223.2 kB / 0.7046 GB, free: 42.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.48, allocations: 0.5252 MB / 0.7052 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.4802, allocations: 142.4 kB / 0.7053 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.4805, allocations: 483.2 kB / 0.7058 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.481, allocations: 0.5212 MB / 0.7063 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.481, allocations: 0 / 0.7063 GB, free: 41.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001055/0.4821, allocations: 0.7872 MB / 0.707 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4821, allocations: 9.594 kB / 0.707 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4821, allocations: 2.75 kB / 0.707 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.4826, allocations: 130.9 kB / 0.7072 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.4831, allocations: 250.6 kB / 0.7074 GB, free: 41.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.4842, allocations: 1.885 MB / 0.7092 GB, free: 39.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.4846, allocations: 102.1 kB / 0.7093 GB, free: 39.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.4847, allocations: 44.33 kB / 0.7094 GB, free: 39.46 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.0003773/0.4851, allocations: 227.1 kB / 0.7096 GB, free: 39.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.4853, allocations: 155.1 kB / 0.7098 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.4865, allocations: 0.9549 MB / 0.7107 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4865, allocations: 14.34 kB / 0.7107 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4865, allocations: 0 / 0.7107 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.4865, allocations: 7.859 kB / 0.7107 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.4885, allocations: 1.726 MB / 0.7124 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4885, allocations: 0 / 0.7124 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.489, allocations: 212.7 kB / 0.7126 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.4894, allocations: 128.6 kB / 0.7127 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.4895, allocations: 31.44 kB / 0.7127 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009276/0.4904, allocations: 1.887 MB / 0.7146 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4904, allocations: 0.8438 kB / 0.7146 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.492, allocations: 0.9586 MB / 0.7155 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.4923, allocations: 259.7 kB / 0.7158 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4924, allocations: 23.94 kB / 0.7158 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.4928, allocations: 51.64 kB / 0.7158 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.493, allocations: 88.95 kB / 0.7159 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.4931, allocations: 45.33 kB / 0.716 GB, free: 36.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003505/0.4934, allocations: 436.5 kB / 0.7164 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4934, allocations: 0 / 0.7164 GB, free: 36.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001301/0.4947, allocations: 0.5099 MB / 0.7169 GB, free: 36.41 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.001439/0.4961, allocations: 0.7033 MB / 0.7176 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.4972, allocations: 0.7341 MB / 0.7183 GB, free: 36.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4972, allocations: 4.25 kB / 0.7183 GB, free: 36.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.4977, allocations: 0.5143 MB / 0.7188 GB, free: 35.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.499, allocations: 494.9 kB / 0.7193 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.5023, allocations: 2.138 MB / 0.7214 GB, free: 34.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.5025, allocations: 271 kB / 0.7216 GB, free: 34.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008539/0.5034, allocations: 266.3 kB / 0.7219 GB, free: 34.67 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/0.5044, allocations: 0.5342 MB / 0.7224 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.533e-06/0.5044, allocations: 0.9688 kB / 0.7224 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.03444/0.5388, allocations: 24.79 MB / 0.7466 GB, free: 32.01 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.907250429969281]