Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 186 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09684/0.09684, allocations: 22.7 MB / 329 MB, free: 2.332 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 60.09 kB / 463.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1384, allocations: 58.06 MB / 0.5089 GB, free: 4.406 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.5326/0.671, allocations: 22.59 MB / 0.531 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.6719, allocations: 176.9 kB / 0.5312 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.672, allocations: 6.625 kB / 0.5312 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.178e-05/0.6721, allocations: 18.94 kB / 0.5312 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.6724, allocations: 68.88 kB / 0.5313 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.6725, allocations: 35.64 kB / 0.5313 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.6727, allocations: 186.4 kB / 0.5315 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.673, allocations: 97.17 kB / 0.5316 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.6731, allocations: 88.22 kB / 0.5316 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.6733, allocations: 95.11 kB / 0.5317 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.6733, allocations: 13.88 kB / 0.5318 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.6734, allocations: 14.84 kB / 0.5318 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.387e-05/0.6734, allocations: 30.31 kB / 0.5318 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.6735, allocations: 90.92 kB / 0.5319 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.6738, allocations: 191.1 kB / 0.5321 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6738, allocations: 0 / 0.5321 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6738, allocations: 0 / 0.5321 GB, free: 7.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.6738, allocations: 0 / 0.5321 GB, free: 7.148 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007125/0.6745, allocations: 389.2 kB / 0.5324 GB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6746, allocations: 9.938 kB / 0.5324 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.6747, allocations: 20.72 kB / 0.5325 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.6749, allocations: 171.2 kB / 0.5326 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.6749, allocations: 7.828 kB / 0.5326 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.675, allocations: 11.03 kB / 0.5326 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.6753, allocations: 157 kB / 0.5328 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.6753, allocations: 0 / 0.5328 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.6754, allocations: 5.125 kB / 0.5328 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.6754, allocations: 6.938 kB / 0.5328 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.6757, allocations: 105.5 kB / 0.5329 GB, free: 6.605 MB / 382.1 MB 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.001063/0.6768, allocations: 0.5965 MB / 0.5335 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.6769, allocations: 53.17 kB / 0.5335 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.677, allocations: 33.39 kB / 0.5336 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.6771, allocations: 0 / 0.5336 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.6771, allocations: 35.53 kB / 0.5336 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001435/0.6772, allocations: 21.39 kB / 0.5336 GB, free: 6.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.6772, allocations: 0 / 0.5336 GB, free: 6.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004524/0.6777, allocations: 106.6 kB / 0.5337 GB, free: 6.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.6777, allocations: 58.72 kB / 0.5338 GB, free: 5.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.6779, allocations: 199.5 kB / 0.534 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.678, allocations: 28.11 kB / 0.534 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.6781, allocations: 137.9 kB / 0.5341 GB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.6781, allocations: 27.34 kB / 0.5342 GB, free: 5.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.6781, allocations: 31.98 kB / 0.5342 GB, free: 5.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.468e-05/0.6782, allocations: 324.4 kB / 0.5345 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.6783, allocations: 22.06 kB / 0.5345 GB, free: 5.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6785, allocations: 56.36 kB / 0.5346 GB, free: 5.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6796, allocations: 195.8 kB / 0.5348 GB, free: 5.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6796, allocations: 0 / 0.5348 GB, free: 5.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003066/0.6799, allocations: 120 kB / 0.5349 GB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.68, allocations: 4.75 kB / 0.5349 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.68, allocations: 5 kB / 0.5349 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.68, allocations: 5.844 kB / 0.5349 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.6802, allocations: 24.31 kB / 0.5349 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.6802, allocations: 1.25 kB / 0.5349 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.6803, allocations: 13.38 kB / 0.5349 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6803, allocations: 4.875 kB / 0.5349 GB, free: 5.262 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.6804, allocations: 126.7 kB / 0.5351 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.6805, allocations: 17.75 kB / 0.5351 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.6807, allocations: 125.1 kB / 0.5352 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6807, allocations: 4 kB / 0.5352 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6808, allocations: 1.688 kB / 0.5352 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6808, allocations: 4.922 kB / 0.5352 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.681, allocations: 196.4 kB / 0.5354 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.681, allocations: 0.7031 kB / 0.5354 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.6812, allocations: 24.25 kB / 0.5354 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.6812, allocations: 5.469 kB / 0.5354 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6812, allocations: 0.5625 kB / 0.5354 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6812, allocations: 2.203 kB / 0.5354 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6812, allocations: 0 / 0.5354 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.6815, allocations: 237.3 kB / 0.5356 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.6816, allocations: 13.5 kB / 0.5357 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.6816, allocations: 2.078 kB / 0.5357 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.6817, allocations: 9.656 kB / 0.5357 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.6817, allocations: 10.03 kB / 0.5357 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.6817, allocations: 7.266 kB / 0.5357 GB, free: 4.754 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.6819, allocations: 147.3 kB / 0.5358 GB, free: 4.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6819, allocations: 0 / 0.5358 GB, free: 4.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.6822, allocations: 32.86 kB / 0.5359 GB, free: 4.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.6823, allocations: 97.34 kB / 0.5359 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.6825, allocations: 69.23 kB / 0.536 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6825, allocations: 4.125 kB / 0.536 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.797e-05/0.6826, allocations: 30.7 kB / 0.536 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.683, allocations: 40.2 kB / 0.5361 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008591/0.6838, allocations: 385.1 kB / 0.5365 GB, free: 4.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.6841, allocations: 0.7286 MB / 0.5372 GB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.6842, allocations: 21.64 kB / 0.5372 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.6842, allocations: 22.98 kB / 0.5372 GB, free: 3.602 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6842, allocations: 0 / 0.5372 GB, free: 3.602 MB / 382.1 MB Notification: Performance of Templates: time 0.006312/0.6905, allocations: 1.868 MB / 0.539 GB, free: 3.457 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & ./AES_AES.Devel_test_models.Test_liquid_mixing_streams -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.383128016255796] Failed to read output from testmodel.py, exit status != 0: 0.699451926164329 0.7146678129999999 0.037387651 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f45fb4517b0>