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.001762/0.001762, allocations: 88.72 kB / 19.44 MB, free: 356 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.002146/0.002146, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.486/1.486, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.275/1.275, allocations: 154.8 MB / 414.3 MB, free: 472 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 1.503e-06/1.503e-06, allocations: 0 / 0.5198 GB, free: 1.207 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.692e-05, allocations: 2.312 kB / 0.5198 GB, free: 1.203 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4956/0.4957, allocations: 155.9 MB / 0.6721 GB, free: 16.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.511, allocations: 12.04 MB / 0.6839 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.5127, allocations: 45.41 kB / 0.6839 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.5143, allocations: 476.2 kB / 0.6844 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.5184, allocations: 1.103 MB / 0.6855 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.5239, allocations: 1.927 MB / 0.6873 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003556/0.5274, allocations: 2.599 MB / 0.6899 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.5297, allocations: 1.314 MB / 0.6912 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005687/0.5354, allocations: 2.117 MB / 0.6932 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.5367, allocations: 0.7253 MB / 0.6939 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002733/0.5369, allocations: 175.6 kB / 0.6941 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.5394, allocations: 1.294 MB / 0.6954 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.5398, allocations: 0.5105 MB / 0.6959 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007722/0.5406, allocations: 0.6081 MB / 0.6965 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.5454, allocations: 2.983 MB / 0.6994 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5454, allocations: 0 / 0.6994 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.714e-06/0.5454, allocations: 0 / 0.6994 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.592e-05/0.5454, allocations: 0 / 0.6994 GB, free: 14.36 MB / 0.5573 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.003668/0.5491, allocations: 2.01 MB / 0.7013 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5491, allocations: 10.97 kB / 0.7013 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/0.5527, allocations: 0.6576 MB / 0.702 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/0.5546, allocations: 1.009 MB / 0.703 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.5547, allocations: 100.3 kB / 0.7031 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.5548, allocations: 147.2 kB / 0.7032 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.5576, allocations: 2.026 MB / 0.7052 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.5577, allocations: 3.188 kB / 0.7052 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5578, allocations: 62.06 kB / 0.7053 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.5578, allocations: 39.17 kB / 0.7053 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.5603, allocations: 1.529 MB / 0.7068 GB, free: 10.88 MB / 0.5573 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.006508/0.5668, allocations: 3.817 MB / 0.7105 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.5691, allocations: 1.143 MB / 0.7116 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007307/0.5698, allocations: 444 kB / 0.7121 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006048/0.5704, allocations: 119.9 kB / 0.7122 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.5717, allocations: 1.053 MB / 0.7132 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=107): time 2.996e-06/0.5717, allocations: 0 / 0.7132 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=107): time 0.004297/0.576, allocations: 1.618 MB / 0.7148 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/0.576, allocations: 196.6 kB / 0.715 GB, free: 6.207 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000923/0.577, allocations: 0.7623 MB / 0.7157 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.5771, allocations: 49.89 kB / 0.7158 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.5775, allocations: 0.6145 MB / 0.7164 GB, free: 5.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.5777, allocations: 368.6 kB / 0.7167 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.578, allocations: 221.4 kB / 0.7169 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.578, allocations: 353.7 kB / 0.7173 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.5787, allocations: 390.1 kB / 0.7176 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008441/0.5796, allocations: 0.7472 MB / 0.7184 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.5811, allocations: 0.9586 MB / 0.7193 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.5811, allocations: 3.594 kB / 0.7193 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002572/0.5837, allocations: 1.268 MB / 0.7205 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5837, allocations: 13.06 kB / 0.7205 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5837, allocations: 2.875 kB / 0.7205 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008947/0.5846, allocations: 134 kB / 0.7207 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.5856, allocations: 250.7 kB / 0.7209 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.5874, allocations: 1.524 MB / 0.7224 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5886, allocations: 123.3 kB / 0.7225 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.5887, allocations: 51.27 kB / 0.7226 GB, free: 0.793 MB / 0.5573 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.00076/0.5895, allocations: 350.8 kB / 0.7229 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/0.5899, allocations: 153.6 kB / 0.7231 GB, free: 480 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.5931, allocations: 1.416 MB / 0.7244 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5931, allocations: 10.72 kB / 0.7244 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5931, allocations: 0 / 0.7244 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.5932, allocations: 7.969 kB / 0.7245 GB, free: 15.68 MB / 0.573 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 postOpt removeSimpleEquations (simulation): time 0.005551/0.5987, allocations: 2.42 MB / 0.7268 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.5987, allocations: 4 kB / 0.7268 GB, free: 14.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.5997, allocations: 220.6 kB / 0.727 GB, free: 14.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000788/0.6005, allocations: 118.4 kB / 0.7271 GB, free: 14.13 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.6006, allocations: 30 kB / 0.7272 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.603, allocations: 1.552 MB / 0.7287 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.603, allocations: 8.047 kB / 0.7287 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.6062, allocations: 1.355 MB / 0.73 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/0.6071, allocations: 277.6 kB / 0.7303 GB, free: 11.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.6074, allocations: 23.25 kB / 0.7303 GB, free: 11.69 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6085, allocations: 77.92 kB / 0.7304 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.6087, allocations: 92.8 kB / 0.7305 GB, free: 11.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/0.6089, allocations: 50.52 kB / 0.7305 GB, free: 11.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001022/0.6099, allocations: 0.5264 MB / 0.731 GB, free: 11.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6099, allocations: 0 / 0.731 GB, free: 11.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001881/0.6118, allocations: 0.5217 MB / 0.7315 GB, free: 11.12 MB / 0.573 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.0029/0.6147, allocations: 0.7453 MB / 0.7323 GB, free: 10.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.6178, allocations: 1.103 MB / 0.7333 GB, free: 9.93 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6178, allocations: 4 kB / 0.7333 GB, free: 9.926 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.6194, allocations: 0.6419 MB / 0.734 GB, free: 9.293 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.6219, allocations: 492.6 kB / 0.7344 GB, free: 8.84 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/0.628, allocations: 2.421 MB / 0.7368 GB, free: 6.387 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009804/0.629, allocations: 0.6244 MB / 0.7374 GB, free: 5.723 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001564/0.6305, allocations: 364.8 kB / 0.7378 GB, free: 5.363 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.631, allocations: 136.4 kB / 0.7379 GB, free: 5.23 MB / 0.573 GB Notification: Performance of SimCode: time 1.783e-06/0.631, allocations: 0 / 0.7379 GB, free: 5.23 MB / 0.573 GB Notification: Performance of Templates: time 0.04628/0.6773, allocations: 22.83 MB / 0.7602 GB, free: 14.95 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.382722518057562]