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.00137/0.00137, allocations: 78.64 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001595/0.001595, allocations: 169.5 kB / 22.46 MB, free: 5.363 MB / 14.72 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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-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 1.203/1.203, allocations: 154.5 MB / 413.7 MB, free: 5.293 MB / 382.1 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.673e-06/1.673e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.22e-05, allocations: 7.781 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.6095/0.6096, allocations: 156 MB / 0.7708 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.6283, allocations: 12.02 MB / 0.7826 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.6301, allocations: 46.78 kB / 0.7826 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.6316, allocations: 477.1 kB / 0.7831 GB, free: 472 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003739/0.6353, allocations: 1.104 MB / 0.7841 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005728/0.6411, allocations: 1.939 MB / 0.786 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00381/0.6449, allocations: 2.59 MB / 0.7886 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.6471, allocations: 1.281 MB / 0.7898 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00526/0.6523, allocations: 2.048 MB / 0.7918 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.6536, allocations: 0.7121 MB / 0.7925 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.6538, allocations: 178.2 kB / 0.7927 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.6568, allocations: 1.299 MB / 0.7939 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.6574, allocations: 0.5117 MB / 0.7944 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008989/0.6583, allocations: 0.6064 MB / 0.795 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005215/0.6635, allocations: 2.978 MB / 0.7979 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.6635, allocations: 0 / 0.7979 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6635, allocations: 0 / 0.7979 GB, free: 6.543 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.763e-05/0.6635, allocations: 0 / 0.7979 GB, free: 6.543 MB / 0.6387 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.004057/0.6676, allocations: 2.013 MB / 0.7999 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6676, allocations: 9.406 kB / 0.7999 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.6708, allocations: 460.1 kB / 0.8004 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.6727, allocations: 0.9706 MB / 0.8013 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.6729, allocations: 102.9 kB / 0.8014 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.6731, allocations: 131.8 kB / 0.8015 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/0.6763, allocations: 2.03 MB / 0.8035 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.6764, allocations: 2.969 kB / 0.8035 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.6765, allocations: 57.41 kB / 0.8036 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.6765, allocations: 34.47 kB / 0.8036 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.6793, allocations: 1.536 MB / 0.8051 GB, free: 1.594 MB / 0.6387 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.007401/0.6867, allocations: 3.763 MB / 0.8088 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.6893, allocations: 1.155 MB / 0.8099 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.6901, allocations: 439.1 kB / 0.8103 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006056/0.6907, allocations: 119.7 kB / 0.8104 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001533/0.6923, allocations: 1.05 MB / 0.8115 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 3.737e-06/0.6923, allocations: 7.875 kB / 0.8115 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=107): time 0.004723/0.697, allocations: 1.579 MB / 0.813 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.6971, allocations: 196.1 kB / 0.8132 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.6984, allocations: 0.7625 MB / 0.8139 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.6985, allocations: 53.27 kB / 0.814 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/0.6992, allocations: 0.6041 MB / 0.8146 GB, free: 11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003882/0.6996, allocations: 374.1 kB / 0.8149 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.7, allocations: 218.3 kB / 0.8152 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.7002, allocations: 349.9 kB / 0.8155 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.7011, allocations: 398.4 kB / 0.8159 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.7022, allocations: 0.7464 MB / 0.8166 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.7042, allocations: 0.9527 MB / 0.8175 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.7042, allocations: 4 kB / 0.8175 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003114/0.7073, allocations: 1.22 MB / 0.8187 GB, free: 6.664 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.7074, allocations: 4 kB / 0.8187 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7074, allocations: 8.344 kB / 0.8187 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.708, allocations: 88.77 kB / 0.8188 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.7092, allocations: 255.7 kB / 0.8191 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.7117, allocations: 1.526 MB / 0.8205 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.7129, allocations: 115.4 kB / 0.8207 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.7131, allocations: 51.95 kB / 0.8207 GB, free: 4.52 MB / 0.6544 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.0008115/0.7139, allocations: 344.6 kB / 0.821 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.7143, allocations: 123.2 kB / 0.8212 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/0.7181, allocations: 1.42 MB / 0.8225 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.7181, allocations: 16 kB / 0.8226 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7181, allocations: 0 / 0.8226 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.7182, allocations: 7.969 kB / 0.8226 GB, free: 2.594 MB / 0.6544 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.005683/0.7238, allocations: 2.399 MB / 0.8249 GB, free: 156 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7238, allocations: 4 kB / 0.8249 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7249, allocations: 223.7 kB / 0.8251 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/0.7253, allocations: 76.78 kB / 0.8252 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-05/0.7254, allocations: 27.98 kB / 0.8252 GB, free: 15.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.7274, allocations: 1.547 MB / 0.8267 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7274, allocations: 0 / 0.8267 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.7304, allocations: 1.311 MB / 0.828 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000645/0.731, allocations: 274.7 kB / 0.8283 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.7312, allocations: 27.94 kB / 0.8283 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.7321, allocations: 89.86 kB / 0.8284 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.7323, allocations: 84.83 kB / 0.8285 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.7325, allocations: 55.95 kB / 0.8285 GB, free: 12.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007854/0.7332, allocations: 0.5263 MB / 0.829 GB, free: 11.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7332, allocations: 0 / 0.829 GB, free: 11.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001525/0.7348, allocations: 0.5103 MB / 0.8295 GB, free: 11.29 MB / 0.67 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.002418/0.7372, allocations: 0.7426 MB / 0.8303 GB, free: 10.78 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.7398, allocations: 1.105 MB / 0.8313 GB, free: 9.664 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7398, allocations: 7.938 kB / 0.8313 GB, free: 9.656 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.7411, allocations: 0.6367 MB / 0.832 GB, free: 9.008 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.7434, allocations: 445 kB / 0.8324 GB, free: 8.602 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/0.7482, allocations: 2.364 MB / 0.8347 GB, free: 6.203 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.7489, allocations: 0.6205 MB / 0.8353 GB, free: 5.551 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001365/0.7503, allocations: 372.7 kB / 0.8357 GB, free: 5.184 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.7507, allocations: 136.4 kB / 0.8358 GB, free: 5.051 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/0.7507, allocations: 3.938 kB / 0.8358 GB, free: 5.047 MB / 0.67 GB Notification: Performance of Templates: time 0.0418/0.7925, allocations: 22.67 MB / 0.8579 GB, free: 14.84 MB / 0.7012 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.271349340677261] Failed to read output from testmodel.py, exit status != 0: 0.8022669814527035 0.816981997 0.150177208 Calling exit ...