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.0009151/0.0009151, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009044/0.0009044, allocations: 169 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 1.001/1.001, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.7469/0.7469, allocations: 154.9 MB / 414.8 MB, free: 420 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 2.255e-06/2.255e-06, allocations: 0 / 0.5207 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.024e-05, allocations: 6.625 kB / 0.5207 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1461/0.1461, allocations: 150.3 MB / 0.6674 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.2614/0.4075, allocations: 11.23 MB / 0.6784 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4087, allocations: 43.47 kB / 0.6784 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.4094, allocations: 347.6 kB / 0.6787 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.4113, allocations: 1.083 MB / 0.6798 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.4136, allocations: 1.505 MB / 0.6813 GB, free: 47.72 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.4155, allocations: 2.574 MB / 0.6838 GB, free: 47.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.4169, allocations: 1.31 MB / 0.6851 GB, free: 47.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.4191, allocations: 1.704 MB / 0.6867 GB, free: 47.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.4197, allocations: 0.6919 MB / 0.6874 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.4199, allocations: 160.7 kB / 0.6876 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4209, allocations: 0.9364 MB / 0.6885 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.4212, allocations: 0.4902 MB / 0.689 GB, free: 47.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.4216, allocations: 0.5926 MB / 0.6895 GB, free: 47.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.423, allocations: 1.995 MB / 0.6915 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.423, allocations: 0 / 0.6915 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.423, allocations: 0 / 0.6915 GB, free: 46.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.4231, allocations: 2.969 kB / 0.6915 GB, free: 46.96 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.001702/0.4248, allocations: 2.07 MB / 0.6935 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.4248, allocations: 14.81 kB / 0.6935 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.4264, allocations: 0.6437 MB / 0.6941 GB, free: 45.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.4274, allocations: 0.9888 MB / 0.6951 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.4274, allocations: 100 kB / 0.6952 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4275, allocations: 143.7 kB / 0.6953 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.4289, allocations: 1.609 MB / 0.6969 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.4289, allocations: 3.094 kB / 0.6969 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.429, allocations: 61.53 kB / 0.697 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.429, allocations: 32.53 kB / 0.697 GB, free: 44.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.4301, allocations: 1.034 MB / 0.698 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.003161/0.4333, allocations: 4.028 MB / 0.7019 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009823/0.4342, allocations: 0.7371 MB / 0.7027 GB, free: 42.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.4345, allocations: 261.9 kB / 0.7029 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/0.4348, allocations: 94.41 kB / 0.703 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.4354, allocations: 0.8465 MB / 0.7038 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 2.214e-06/0.4354, allocations: 4.875 kB / 0.7038 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.001782/0.4371, allocations: 1.063 MB / 0.7049 GB, free: 41.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.4372, allocations: 194.8 kB / 0.7051 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.4377, allocations: 0.7189 MB / 0.7058 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.4377, allocations: 44.86 kB / 0.7058 GB, free: 41.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.438, allocations: 0.6626 MB / 0.7065 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.4381, allocations: 367.1 kB / 0.7068 GB, free: 40.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.4383, allocations: 220.5 kB / 0.707 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.4384, allocations: 0.5227 MB / 0.7075 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.4386, allocations: 180 kB / 0.7077 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.439, allocations: 0.5112 MB / 0.7082 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.4396, allocations: 0.5951 MB / 0.7088 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4397, allocations: 0.75 kB / 0.7088 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001126/0.4408, allocations: 0.8706 MB / 0.7096 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4408, allocations: 9 kB / 0.7096 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4408, allocations: 2.5 kB / 0.7096 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.4412, allocations: 139.4 kB / 0.7098 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005374/0.4418, allocations: 250.9 kB / 0.71 GB, free: 39.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009822/0.4428, allocations: 1.91 MB / 0.7119 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.4431, allocations: 103.3 kB / 0.712 GB, free: 37.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.4432, allocations: 51.09 kB / 0.712 GB, free: 37.92 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.0002235/0.4434, allocations: 229.1 kB / 0.7122 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.4435, allocations: 152.8 kB / 0.7124 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.4451, allocations: 1.037 MB / 0.7134 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.4452, allocations: 11.97 kB / 0.7134 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4452, allocations: 0 / 0.7134 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4452, allocations: 12.3 kB / 0.7134 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.4476, allocations: 1.964 MB / 0.7153 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4476, allocations: 1.375 kB / 0.7153 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.4481, allocations: 217.9 kB / 0.7156 GB, free: 37.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003336/0.4484, allocations: 115.2 kB / 0.7157 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.4485, allocations: 37.42 kB / 0.7157 GB, free: 37.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008219/0.4493, allocations: 1.921 MB / 0.7176 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4493, allocations: 1.094 kB / 0.7176 GB, free: 35.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.4505, allocations: 1.042 MB / 0.7186 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.4508, allocations: 263.5 kB / 0.7188 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.4509, allocations: 26.3 kB / 0.7189 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.4513, allocations: 53.39 kB / 0.7189 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4514, allocations: 81.58 kB / 0.719 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/0.4514, allocations: 53.62 kB / 0.7191 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003447/0.4518, allocations: 463.7 kB / 0.7195 GB, free: 34.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4518, allocations: 0 / 0.7195 GB, free: 34.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007933/0.4526, allocations: 0.5173 MB / 0.72 GB, free: 34.82 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.001303/0.4539, allocations: 0.7001 MB / 0.7207 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.4549, allocations: 0.8219 MB / 0.7215 GB, free: 34.44 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4549, allocations: 2.688 kB / 0.7215 GB, free: 34.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005517/0.4555, allocations: 0.5522 MB / 0.722 GB, free: 34.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4565, allocations: 0.4904 MB / 0.7225 GB, free: 34.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.4592, allocations: 2.162 MB / 0.7246 GB, free: 33.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.4594, allocations: 272.4 kB / 0.7249 GB, free: 33.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007026/0.4601, allocations: 347.6 kB / 0.7252 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.4604, allocations: 133.4 kB / 0.7253 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of SimCode: time 8.21e-07/0.4604, allocations: 1.719 kB / 0.7253 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.02547/0.4858, allocations: 23.93 MB / 0.7487 GB, free: 30.41 MB / 0.6355 GB " [Timeout remaining time 660] 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.819857134018093]