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.0008364/0.0008364, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008712/0.0008712, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8728/0.8728, allocations: 177.1 MB / 203.5 MB, free: 5.742 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-531:190: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-531:198: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.7056/0.7056, allocations: 154.6 MB / 414.5 MB, free: 0.8516 MB / 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.084e-06/2.084e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.589e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.453/0.453, allocations: 156 MB / 0.7716 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.4682, allocations: 12.03 MB / 0.7833 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.4699, allocations: 44 kB / 0.7833 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.4713, allocations: 468.7 kB / 0.7838 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002839/0.4741, allocations: 1.105 MB / 0.7849 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.479, allocations: 1.936 MB / 0.7868 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003038/0.482, allocations: 2.588 MB / 0.7893 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.4837, allocations: 1.277 MB / 0.7905 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/0.4876, allocations: 2.05 MB / 0.7925 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/0.4884, allocations: 0.7176 MB / 0.7932 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.4886, allocations: 175.1 kB / 0.7934 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.4914, allocations: 1.305 MB / 0.7947 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.4917, allocations: 0.5074 MB / 0.7952 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.4922, allocations: 0.6027 MB / 0.7958 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.4953, allocations: 2.98 MB / 0.7987 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4953, allocations: 6.594 kB / 0.7987 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4953, allocations: 0 / 0.7987 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.4953, allocations: 0 / 0.7987 GB, free: 3.434 MB / 0.6511 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.002246/0.4976, allocations: 2.014 MB / 0.8007 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4976, allocations: 9.75 kB / 0.8007 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.4992, allocations: 467.4 kB / 0.8011 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5004, allocations: 0.963 MB / 0.802 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.5004, allocations: 106.4 kB / 0.8022 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5005, allocations: 132.2 kB / 0.8023 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.5024, allocations: 2.027 MB / 0.8043 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.5024, allocations: 0 / 0.8043 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-05/0.5025, allocations: 60.22 kB / 0.8043 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.5025, allocations: 31.91 kB / 0.8043 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.5041, allocations: 1.533 MB / 0.8058 GB, free: 14.64 MB / 0.6667 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.003907/0.508, allocations: 3.761 MB / 0.8095 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.5095, allocations: 1.157 MB / 0.8106 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.51, allocations: 439.7 kB / 0.8111 GB, free: 11 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.5104, allocations: 117.9 kB / 0.8112 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008919/0.5112, allocations: 1.044 MB / 0.8122 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=107): time 3.286e-06/0.5113, allocations: 0 / 0.8122 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=107): time 0.002742/0.514, allocations: 1.584 MB / 0.8137 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/0.5141, allocations: 199.6 kB / 0.8139 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.5148, allocations: 0.7628 MB / 0.8147 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.5149, allocations: 48.89 kB / 0.8147 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.5152, allocations: 0.6104 MB / 0.8153 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.5154, allocations: 367.9 kB / 0.8157 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.5156, allocations: 217 kB / 0.8159 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.5157, allocations: 356.3 kB / 0.8162 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.5162, allocations: 402.6 kB / 0.8166 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000655/0.5168, allocations: 0.7432 MB / 0.8173 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.5179, allocations: 0.9587 MB / 0.8183 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.5179, allocations: 1.969 kB / 0.8183 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001634/0.5195, allocations: 1.219 MB / 0.8195 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5196, allocations: 12.11 kB / 0.8195 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5196, allocations: 2.5 kB / 0.8195 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.5199, allocations: 88.72 kB / 0.8196 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005651/0.5205, allocations: 251.8 kB / 0.8198 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.5219, allocations: 1.529 MB / 0.8213 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.5224, allocations: 119.1 kB / 0.8214 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.5224, allocations: 50.88 kB / 0.8214 GB, free: 3.637 MB / 0.6667 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.000448/0.5229, allocations: 341.7 kB / 0.8218 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.523, allocations: 120.4 kB / 0.8219 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/0.5251, allocations: 1.423 MB / 0.8233 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5251, allocations: 16 kB / 0.8233 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5251, allocations: 0 / 0.8233 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.5251, allocations: 3.984 kB / 0.8233 GB, free: 1.867 MB / 0.6667 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.002777/0.5279, allocations: 2.41 MB / 0.8257 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5279, allocations: 0 / 0.8257 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.5284, allocations: 219.7 kB / 0.8259 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.5286, allocations: 76.78 kB / 0.8259 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.5286, allocations: 35.91 kB / 0.826 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.5298, allocations: 1.547 MB / 0.8275 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5298, allocations: 0 / 0.8275 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.5313, allocations: 1.311 MB / 0.8288 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.5317, allocations: 274.7 kB / 0.829 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.5318, allocations: 27.94 kB / 0.829 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.5322, allocations: 79.91 kB / 0.8291 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.5324, allocations: 92.77 kB / 0.8292 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.5325, allocations: 55.97 kB / 0.8293 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004981/0.533, allocations: 0.5263 MB / 0.8298 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.533, allocations: 0 / 0.8298 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001492/0.5344, allocations: 0.5103 MB / 0.8303 GB, free: 10.55 MB / 0.6823 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.5358, allocations: 0.7331 MB / 0.831 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.5372, allocations: 1.113 MB / 0.8321 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5372, allocations: 5.875 kB / 0.8321 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.5379, allocations: 0.6328 MB / 0.8327 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5389, allocations: 448.3 kB / 0.8331 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.5419, allocations: 2.416 MB / 0.8355 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.5423, allocations: 0.6256 MB / 0.8361 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.5426, allocations: 152.4 kB / 0.8362 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/0.5426, allocations: 0 / 0.8362 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of Templates: time 0.02681/0.5694, allocations: 28.29 MB / 0.8639 GB, free: 8.5 MB / 0.7136 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: 9.560700993984938] Failed to read output from testmodel.py, exit status != 0: 0.576454964466393 0.5871477909999999 0.089962767 Calling exit ...